Agora-Flutter-SDK icon indicating copy to clipboard operation
Agora-Flutter-SDK copied to clipboard

Stopping Share Screen Does not switch back to camera

Open 1AhmedYasser opened this issue 2 years ago • 8 comments

Describe the bug When I am in a video call , I start screen sharing so my camera feed gets replaced with my screen feed, but when I stop sharing my screen using (await agoraEngine?.stopScreenCapture()), it stops the screen share feed, but does not switch back to the camera feed

Expected behavior Upon Stopping screen sharing , the video feed should be replaced with the camera feed

1AhmedYasser avatar Aug 22 '22 10:08 1AhmedYasser

same problem here..

ahmedessid avatar Aug 22 '22 10:08 ahmedessid

Which platform are you running into issues with?

littleGnAl avatar Aug 23 '22 05:08 littleGnAl

Both Android & iOS

1AhmedYasser avatar Aug 23 '22 06:08 1AhmedYasser

Can You Expose this method to be used in the flutter SDK: setVideoSource (newAgoraDefaultSource ())

https://docs.agora.io/en/Voice/API%20Reference/java/classio_1_1agora_1_1rtc_1_1_rtc_engine.html?platform=Android#aa240e991d12b5240fc5fd362cbc0d521

1AhmedYasser avatar Aug 24 '22 01:08 1AhmedYasser

same issuse

iaohtdev avatar Aug 24 '22 06:08 iaohtdev

It's a known issue, we will expose a new API to achieve this on the next release.

littleGnAl avatar Aug 24 '22 07:08 littleGnAl

does any one have solution for screen sharing in android and ios

shaikmohammed8 avatar Aug 31 '22 08:08 shaikmohammed8

This fix has been merged to https://github.com/AgoraIO-Extensions/Agora-Flutter-SDK/tree/master, you can depend on the agora_rtc_engine as the git package at this time.

littleGnAl avatar Sep 22 '22 07:09 littleGnAl

This fix has been released agora_rtc_engine: ^5.3.1. https://pub.dev/packages/agora_rtc_engine

littleGnAl avatar Sep 27 '22 03:09 littleGnAl

Thank you so much

1AhmedYasser avatar Sep 27 '22 08:09 1AhmedYasser

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please raise a new issue.

github-actions[bot] avatar Apr 28 '23 11:04 github-actions[bot]