AgoraIO-Community / VideoUIKit-Flutter

Flutter plugin to simply integrate Agora Video Calling or Live Video Streaming to your app with just a few lines of code.
https://agora-flutter-uikit.vercel.app/
MIT License
139 stars 78 forks source link

Screen Sharing stop in between and required advance features (overlay and some what customisation) #184

Open flutter-vrinsoft opened 6 months ago

flutter-vrinsoft commented 6 months ago

Describe the bug in my e-commerce app i want to share my screen with my followers so i user agora ready to use UIKit- but it's showing in beta version. i face and issue like after few seconds screen sharing stop working, while navigating other screen it's stop screen sharing automatically.

To Reproduce

  1. create one button at home screen of the app like app bar
  2. click on that button will show agora ui kit widget with video preview and at bottom show screen share button
  3. click on that button and navigate back to home screen to show products
  4. now move to some other screen (ex: particular product details screen)
  5. navigate to different screen and also on other side join same channel in other devices (3-5)
  6. check it shows or not

Expected behavior we need two thing one red border as it's already available but another will be extra overlay widget where we can show button like stop screen sharing or mute other / self, etc. for clear understanding attaching images below.

Screenshots Screenshot 2024-03-15 at 11 33 16 AM Screenshot 2024-03-15 at 11 32 56 AM

Desktop (please complete the following information): Here is flutter version info [✓] Flutter (Channel stable, 3.19.0, on macOS 14.0 23A344 darwin-arm64, locale en-IN) [✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0) [✓] Xcode - develop for iOS and macOS (Xcode 15.0) [✓] Chrome - develop for the web [✓] Android Studio (version 2023.1) [✓] Connected device (3 available) [✓] Network resources

Additional context Till now there are no package available for screen sharing only. we want that screen sharing will directly start if possible with out video call. we are just want to show screen sharing. Also it will be compatible with all devices and as i mention before custom overlay widget will required to access features immediately.