We run live classes in our own web app with the Zoom Video SDK for Web (@zoom/videosdk 2.5.0). This is not the Zoom Meeting client. The host and students join from the browser.
The app is stable for other hosts. One host, on a Mac, sometimes joins into a black session screen, and the camera never starts. The black screen is already there before they try to turn the camera on. We ran several sessions with the same host and the same app. Some worked and some did not.
Sessions we tested
Session ID
Result
2izsMRBBTkqGG93vpqn7kw==
Worked
eRTWD9gaROW80+vHVNvhMg==
Did not work — black screen, camera did not start
UgUKSNxyQe+mgAqRA/qU3A==
Worked
vgsFAhgbS1yWSERz635hAA==
Worked
nqf+6+JRSQepgwXLPQ/EIw==
Did not work — this is the real class. Black screen, camera did not start
The +, /, and = characters are part of the session id. Please look up the two failed sessions, especially nqf+6+JRSQepgwXLPQ/EIw==.
How we join a class
The host opens our live-class page in the browser and goes through a pre-join lobby (camera and microphone preview).
Our server issues a Video SDK JWT (HS256) for that session:
role_type: 1 (host)
tpc and session_key set to our session name
user_identity set to our user id
audio_webrtc_mode: 1
cloud_recording_option: 1 and cloud_recording_election: 1 (host only)
cloud_recording_transcript_option: 2
The browser calls client.join(sessionName, signature, userName). There is no session passcode. The host display name is prefixed with HOST::.
After join we read client.getSessionInfo().sessionId.
If the host left the camera on in the lobby, we call mediaStream.startVideo({ fullHd: true }), plus a virtual background image URL when one is selected. Audio starts with mediaStream.startAudio().
The host then starts cloud recording and live transcription. Students join the same session name with role_type: 0.
What we see on the failed sessions
Same Mac host, same app, same SDK version.
Join succeeds, but the session view is black from the start.
The host camera does not start.
The sessions in the table above that are marked “Worked” used this same join path and the camera came up normally.
Could you compare a working session (for example vgsFAhgbS1yWSERz635hAA==) with the failed ones (eRTWD9gaROW80+vHVNvhMg== and nqf+6+JRSQepgwXLPQ/EIw==) and tell us why the host video never starts on those two?
We can add the macOS version, browser, and the startVideo console error if you need them.
On the failed sessions, did startVideo throw any error to the console? That message usually tells you whether the camera request was blocked or never went through at all.
The failed session occurred on the live platform, where we didn’t have the browser console open. Based on our assumptions, it may have been caused by a camera-related error, such as the camera already being in use or being inaccessible. However, what caused this issue on macOS is quite strange, especially since we tested the same functionality on macOS in the development environment and didn’t encounter any issues.
Could you compare a working session (for example vgsFAhgbS1yWSERz635hAA==) with the failed ones (eRTWD9gaROW80+vHVNvhMg== and nqf+6+JRSQepgwXLPQ/EIw==) and tell us why the host video never starts on those two?
We’re investigating the root cause of this issue and will keep you updated on our progress.
We have a pre-join lobby where we use Zoom’s documented pre-session preview method. The camera works fine in the lobby, but as soon as the host joins the call, their camera feed disappears and a black screen appears.
We are now handling error 6103, which indicates that the camera is already in use. However, this issue occurs only for some hosts, not everyone, which suggests that our implementation is working correctly in most cases. What could be causing this issue specifically on macOS, and why does it happen only for certain users?
We are now handling error 6103, which indicates that the camera is already in use.
We’d recommend stopping the preview video before transitioning from the pre-join lobby into the session.
Separately, we noticed that this host’s Chrome isn’t using GPU acceleration — this option is normally enabled by default.
Could you have the customer go to chrome://settings, search for “Use graphics acceleration when available,” and check whether that toggle is turned on?
Yes, we stop the preview before the video transitions from the lobby to the main class.
Thanks for pointing out the GPU acceleration setting. We’ll ask them to enable it. However, the issue still occurs inconsistently: it works for some classes but not for others.
Also, on Windows, if I turn on the camera in the Zoom desktop app and then try to turn it on in our application, it throws error 6103, which is expected.
However, on macOS, the behaviour is inconsistent across devices. On some devices, the camera works in both Zoom and our application simultaneously, while on others, the video goes black, and error 6103 is not thrown either.
On some devices, the camera works in both Zoom and our application simultaneously, while on others, the video goes black, and error 6103 is not thrown either.
We took another look at the logs and found that, for this macOS user, the SharedArrayBuffer configuration differs between before and after a refresh within the same session — one shows true, the other false. Could you confirm on your end whether there’s been any change related to this?
Additionally, we’d suggest explicitly declaring video_webrtc_mode=1 in the JWT, which would select the WebRTC Video solution. This tends to provide a better user experience on lower-performance devices or devices without GPU acceleration enabled.