opentok / opentok-android-sdk-samples

Sample applications illustrating best practices using OpenTok Android SDK.
https://tokbox.com/developer/sdks/android/
MIT License
212 stars 169 forks source link

Need a example for share screen outside the app #416

Open ngocson952006 opened 2 years ago

ngocson952006 commented 2 years ago

From https://stackoverflow.com/questions/63572116/tok-box-screen-sharing-is-not-working-outside-my-app/63572744#63572744, I can see a comment from the Tokbox team that you're working on a sample application that shares screen entire device's screen outside of the app (Like Facebook Messenger app). Hope I can see this example soon.

v-kpheng commented 2 years ago

Thanks, @ngocson952006.

I spoke to Product about your request: https://jira.vonage.com/browse/OPENTOK-49524. Will keep you posted.

nick-vasic commented 1 year ago

You can have a look here for some examples of using media projection on Android and ReplayKit on iOS to achieve global screenshare:

https://github.com/nick-vasic/opentok-react-native/blob/master/android/src/main/java/com/opentokreactnative/ScreenCaptureMediaProjectionService.java

iOS:

https://github.com/nick-vasic/opentok-react-native/blob/master/ios/OpenTokReactNative/OTScreenCapture.m