Failed to capture video

After joining the session, when I try to capture video, it throws an error. Although I see the camera light on.

Error
JsMediaSDK.js:1367 Uncaught (in promise) TypeError: Cannot read property ‘id’ of null
at JsMediaSDK_Instance._callee15$ (JsMediaSDK.js:1367)
at tryCatch (runtime.js:62)
at Generator.invoke [as _invoke] (runtime.js:288)
at Generator.prototype. [as next] (runtime.js:114)
at asyncGeneratorStep (asyncToGenerator.js:5)
at _next (asyncToGenerator.js:27)

Which version?
zoom-instant-sdk-web-1.0-2.0

To Reproduce(If applicable)
Steps to reproduce the behavior:

  1. Created sample app and run to start a new session
  2. Joined session sucessfully
  3. Try to capture camera video using stream.startVideo(canvasId);
  4. See error

Screenshots

Device (please complete the following information):

  • Device: Macbook pro
  • OS: MacOS Big Sur
  • Browser: Chrome

Hey @Amar ,

Thanks for reporting this to us. We will take a look and figure out why this is happening. (CS-2981) :slight_smile:

-Tommy

Never mind @tommy , I found the issue. It was unable to find the canvas with given id.

1 Like

Happy to hear you got it sorted out! :slight_smile:

Thanks,
Tommy