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.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.