0

I'm using the matrix package which is more useful for real-time communication, I've achieved audio calls, video calls, and sending real-time messages. Now that I tried to implement the screen while calling, some default methods were there to implement the screen sharing, but my app crashed while starting the screen sharing.

I've tried the matrix methods:

  Future<void> handleScreenSharing() async {
    screenShared.toggle();
    await _groupCall?.setScreensharingEnabled(
      screenShared.value,
      groupCall.localDesktopCapturerSourceId,
    );
  }

But facing this issue:

enter image description here

Please help me to fix this issue.

2

0