OpenTok publisher's view becomes black when application enters in foreground

Viewed 755

In my one to one video calling app using OpenTok, the publisher's view becomes black after it goes to background mode and enters foreground. The subscriber is also not able to see the view(only seeing black box).

I am setting the publisher and subscriber properties as such:

publisher.publishVideo = true

subscriber.subscribeToVideo = true

Any solution will be very helpful.

0 Answers
Related