I have done video calling using OpenTok (Tokbox Sample for video calling among multiple users). I am facing a random issue in my application when my application enters in background mode and again application is sent to foreground.
Session remains connected but the video will not be displayed to other users(Black screen is displayed).
I have enabled publishvideo in publisher and subscribe to video for currentsubscriber.
_publisher.publishVideo = YES;
_currentSubscriber.subscribeToVideo = YES;
Is there any way to fix this issue.
Any help is appreciable.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With