Video SDK Type and Version
Using zoom/meetingsdk": "^3.8.10 (node)
Description
When a user first enters a (nextjs, react) page containing a zoom EmbeddedClient, it fails to stream video. Only after refreshing the page once does the video begin normally. The EmbeddedClient is defined by assigning an element via
await client.init({
language: 'en-US',
leaveOnPageUnload: true,
patchJsMedia: true,
zoomAppRoot: rootElement!, // here
// ... other stuff
Error?
On the initial page load for an already-in-process webinar, I get the following console logs, but no video streams (and no network/console errors are received):
client.join() completed
Audio Version: 2313
Video Version: 2313
Sharing Version: 2313
On reloading, I get the same logs followed by
consume interval 5
and the video begins streaming as expected.
How To Reproduce
Steps to reproduce the behavior including:
Browser is chrome
Authentication: each participant gets a JWT token (based on encoded secrets) passed to the client.
Perhaps there’s an event I can listen to and a command I can trigger to re-attempt to fetch video without needing to reload? Simply reloading the page Allows a user to receive video feed, so I’m assuming there’s some sort of race condition that maybe we’re not aware of.