Vinay1
(Vinay)
March 25, 2025, 7:57am
1
Hi @vic.yang
Getting this error in my console when ever I turn on my device camera.
I tried setting quality low to 180,360 etc, but still getting the same warning in console.
I am sharing the reference sessionId: OygoL1n6Tuu/53/N1ncUNw==
Thank you
Hey @Vinay1
Thanks for your feedback.
HD support is currently limited and comes with several restrictions and limitations
It is just a notification indicating that HD or Full HD video may not be effective on certain platforms or devices. We will gradually support more platforms. This notification does not affect functionality.
Thanks
Vic
Vinay1
(Vinay)
March 25, 2025, 9:06am
3
The problem is, my video feed is not coming.
I tried multiple fixes, but not going anywhere.
I didn’t find any other warnings or errors in console, so not sure how to debug this.
Thank you @vic.yang
Hi @Vinay1
Thanks for sharing the context with us.
Could you share some code snippets related to the video start process with us?
Thanks
Vic
Vinay1
(Vinay)
March 25, 2025, 9:44am
5
Sure.
This is a snippet from video-footer.tsx
const onCameraClick = useCallback(async () => {
if (isStartedVideo) {
await mediaStream?.stopVideo();
setIsStartedVideo(false);
} else {
if (mediaStream?.isRenderSelfViewWithVideoElement()) {
const videoElement = document.querySelector(`#${SELF_VIDEO_ID}`) as HTMLVideoElement;
if (videoElement) {
await mediaStream?.startVideo({ videoElement });
}
} else {
const startVideoOptions = { hd: true, ptz: mediaStream?.isBrowserSupportPTZ() };
if (mediaStream?.isSupportVirtualBackground() && isBlur) {
Object.assign(startVideoOptions, { virtualBackground: { imageUrl: 'blur' } });
}
await mediaStream?.startVideo(startVideoOptions);
if (!mediaStream?.isSupportMultipleVideos()) {
const canvasElement = document.querySelector(`#${SELF_VIDEO_ID}`) as HTMLCanvasElement;
mediaStream?.renderVideo(
canvasElement,
zmClient.getSessionInfo().userId,
canvasElement.width,
canvasElement.height,
0,
0,
3
);
}
}
setIsStartedVideo(true);
}
}, [mediaStream, isStartedVideo, zmClient, isBlur]);
If it helps, I have also the copied the entire file from latest video sdk repo, but still getting the same issue.
Hey @Vinay1
Thanks for sharing the code snippets with us.
Can I confirm if you have set the enforceMultipleVideos
or enforceVirtualBackground
options in the client.init
method?
If so, you need to manually call the mediaStream.renderVideo
or mediaStream.attachVideo
method. Please refer to videosdk-web-sample/src/feature/video/video.tsx at master · zoom/videosdk-web-sample · GitHub or videosdk-web-sample/src/feature/video/video-attach.tsx at master · zoom/videosdk-web-sample · GitHub .
Thanks
Vic
system
(system)
Closed
April 25, 2025, 4:32pm
7
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.