Description
Sometimes, we are unable to render video using video-player
, and Zoom throws the following error:
Error eventType: active-media-failed, data: {message: Oops! Something went wrong. Please close all browsers and rejoin the meeting., type: video, code: 206}
According to Zoom’s documentation, this error means: “Failed to get video data from the stream.”
Could you help us investigate why this is happening?
Also, if it’s not fully preventable, could you suggest how we might handle this error more gracefully, or reduce how frequently it occurs?
This is my sessionId: G7hN3patQvakN5hjB1Lumw==
Thank you in advance!
Which Web Video SDK version?
2.1.0
Video SDK Code Snippets
Start video:
let videoOptions = {
cameraId: cameraId,
originalRatio: window.isMobile
};
if (mediaStream.isSupportVirtualBackground() && virtualBackground) {
videoOptions.virtualBackground = { imageUrl: virtualBackground };
}
await mediaStream.startVideo(videoOptions);
Render video:
const videoPlayer = await state.mediaStream.attachVideo(userId, quality);
...
WebRTC is not enabled for video in our implementation.
To Reproduce(If applicable)
- User 1 joins the meeting with camera and microphone enabled.
- User 2 then joins the same meeting on the same device, also with camera and microphone enabled.
→ At this point, both video views are completely black and the error mentioned above is thrown.
However, when User 3 joins the meeting (also on the same device), video rendering succeeds for all three users.
Device (please complete the following information):
- Device: Window
- Browser: Chrome
- Browser Version: 137.0.7151.120 (Official Build) (64-bit)