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
  • Did you add the foreground service type? stackoverflow.com/questions/61276730/… Commented Feb 20, 2024 at 2:20
  • Yeah! I've added that, but not worked for me😞😞😞 Commented Feb 20, 2024 at 10:48

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.