Hello,
when trying to initialize a publisher with initPublisher('undefined', { videoSource: 'screen'})
and hit Cancel in the Share your screen dialog in the browser. I get a DOMException: Permission denied
. Is this an uncaught error in OpenVidu, or is there a good way of getting around this?
This error is because of you have cancel screen sharing process. The browser returns this error natively.
Regards
1 Like
Ok, thanks! I got around this using initPublisherAsync()
. Now, I can handle the error.
1 Like