Closed Electric131 closed 1 year ago
You'll need to catch the error from the subscribe
promise, but my assumption is that the camera id you have supplied is not valid.
Note: Rust+ devs made changes to prevent watching static cameras on oil rig etc.
After adding a catch to it, no error seems to even be logged but now it works. I just feel it is annoying the example doesn't seem to work out of the box.
Issue when subscribing with a camera results in error code "ERR_UNHANDLED_REJECTION"
Copied code from the example for rendering, the code works when camera.subscribe line is removed.