We are using single canvas to render all videos, but sometimes blank videos are getting rendered when we toggle video few times and we are getting following error messages in browser console after few seconds when this happens:
A VideoFrame was garbage collected without being closed. Applications should call close() on frames when done with them to prevent stalls.
Camera does gets started but rendered video is blank.
Browser Console Error A VideoFrame was garbage collected without being closed. Applications should call close() on frames when done with them to prevent stalls.
Additional context
Its not happening always, but just wanted to share it with you because we’re not sure if its an issue in Zoom SDK or something from our side.
Okay, and currently we are checking bVideoOn property of users to call stream.renderVideo() as done in demo app here and then here, Is it the best practice you would recommend to render videos?
Because it seems like bVideoOn property get sets to true before even resolution of startVideo() promise, resulting in calling of stream.renderVideo() before completion of startVideo() promise, Can it cause any issues?