Description
Video is not getting rendered on the canvas in fact of successfully promise returned while mediaStream.renderVideo.
Error
I’m not getting any error
Which Web Video SDK version?
I’m using the version v1.1.3
Device (please complete the following information):
- Device: HP Probook
- OS: Fedora 34
- Browser: Chrome
- Browser Version 92.0.4515.107 (Official Build) (64-bit)
this.zoomClient.on('connection-change', async payload => {
if (payload.state === 'Connected') {
this.stream = await this.zoomClient.getMediaStream({
video: true,
audio: true
});
this.stream.startVideo('video-canvas').then(res => {
try {
const session = this.zoomClient.getSessionInfo();
const canvas = document.querySelector('#video-canvas');
this.stream.renderVideo(canvas, session.userId, 300, 200, 0, 0, 1);
} catch (error) {
console.log(error);
}
});
}
});