opentok / opentok-ios-sdk-samples

Example applications that use the OpenTok iOS SDK
https://tokbox.com/developer/sdks/ios
MIT License
200 stars 117 forks source link

Add possibility to use PIP, Screenshare and Camera with iOS 16 #277

Open marcel-ploch opened 1 year ago

marcel-ploch commented 1 year ago

Hello together,

as far as we can see with iOS 16 it is possible to have camera access also the App is not in foreground.

https://developer.apple.com/documentation/bundleresources/entitlements/com_apple_developer_avfoundation_multitasking-camera-access

I Player a bit with iOS SDK and PIP mode and could add it. Only if i put the App in Background the Camera Stream will drop and I not can see my UIViews anymore.

That is normal behavior and I could challange it on Android where it is working quite fine.

Will it be possible to have this extension for AVFoundation also for the iOS SDK.

Is it somehow possible to receive the Stream Raw Data without the Subscriber View so that I can add it to the PIP mode. And the User can see the other user when the app is in Background to Share the Screen?

Kind regards

v-kpheng commented 1 year ago

@marcel-ploch, PIP support isn't on our current roadmap. That said, it may show up in a future roadmap. This is being tracked internally: https://jira.vonage.com/browse/VIDCS-791.

asheliuk commented 1 year ago

@v-kpheng, Is it still outside your current roadmap?

v-kpheng commented 1 year ago

@asheliuk, yes, it is. No ETA yet, though, sorry.

venkataramanabandi commented 4 months ago

is there any update on this this issue @v-kpheng

v-kpheng commented 3 months ago

Sorry, @venkataramanabandi, still not on our roadmap yet, so no update.