Hi. I am seeing some new errors in the browser after upgrading from 2.15 to 2.16. I downgraded back to 2.15 to be sure, and the errors are not happening in 2.15.
WebSocket is already in CLOSING or CLOSED state
webSocketWithReconnection.js:94
ERROR:Request has timed out in Request: method:videoData params:{"height":0,"width":0,"videoActive":true,"audioActive":true} request:{"jsonrpc":"2.0","method":"videoData","params":{"height":0,"width":0,"videoActive":true,"audioActive":true},"id":56}
jsonrpcclient.js:102
Error sending 'videoData' event Error: Request has timed out
at timeout (index.js:374)
OpenViduLogger.js:57
It seems to happen when leaving the session but doesn’t seem to be breaking anything.
Yes, this is a known issue in openvidu-browser 2.16.0. As you already tested, it does not cause any fatal error, just logs those messages. If your application has a package.json, you can try upgrading to 2.16.2, which should fix this issue: https://www.npmjs.com/package/openvidu-browser.
Sorry, my bad. The fix is actually not available in 2.16.2 as an NPM package. The commit fixing it was done later. To test it you will have to compile and install the NPM package from master as indicated in the instructions. Regards.