Description
- On some machines using the Edge browser, starting a video stream fails intermittently.
- Calling
stream.startVideo()sometimes freezes for a long time before throwing an error, and in some cases, it remains frozen indefinitely.
(Other browsers work fine)
After an extended period, some devices throw the following error:
Uncaught TypeError: Cannot read properties of null (reading 'Set_WaterMark_Info')
at f836a31f-95dd-4ee7-84c2-a8b983ef9ffc:24375:20
Some throw this error:
name: 'Empty error', message: 'no elements in sequence'
As a result, when attempting to render the video, the following error occurs:
Uncaught (in promise) {"type":"INVALID_PARAMETERS","reason":"user is not sending video"}
This is my sessionId: Ob4FtMyHTlC8qMpHZFYSiA==
I would appreciate any help.
Browser Console Error
Which Web Video SDK version?
VideoSDK: 2.1.0
Video SDK Code Snippets
try {
let videoOptions = {
cameraId: cameraId,
hd: state.mediaStream.isSupportHDVideo(),
originalRatio: window.isMobile
};
if (state.mediaStream.isSupportVirtualBackground() && virtualBackground) {
videoOptions.virtualBackground = { imageUrl: virtualBackground };
}
await state.mediaStream.startVideo(videoOptions);
} catch (error) {
Logger.error('[VIDEO-SDK JS] startVideoStream error', error);
throw error;
}
To Reproduce(If applicable)
- User A turn on camera and join meeting
- User B use edge turn on camera and join meeting
- When enter meeting → use B can’t start video and throw error as above
Device (please complete the following information):
- Device: Window 10
- Browser: Edge
- Browser Version: Edge version 119, 131