Agora-Flutter-SDK
Agora-Flutter-SDK copied to clipboard
Stopping Share Screen Does not switch back to camera
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
same problem here..
Which platform are you running into issues with?
Both Android & iOS
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
same issuse
It's a known issue, we will expose a new API to achieve this on the next release.
does any one have solution for screen sharing in android and ios
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.
This fix has been released agora_rtc_engine: ^5.3.1
.
https://pub.dev/packages/agora_rtc_engine
Thank you so much
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.