The SDK call getVideoState is not available to apps in guest mode.
It is useful to know if the video is on or off so for drawWebView can be used. I found that detecting whether the camera is on or off helps with drawWebView. Here is my logic
- On app start detect if “inCamera”
- If “InCamera” use getVideoState to see if camera is on, if so then draw the web view
- Use onMyMediaChange to detect if user turns off or on their camera. If it is turned on then draw web view
Is this an inconsistency in the SDK?