Session Join Function Hangs Indefinitely - No Error or Success

Hey @meet-jeavio

Thanks for your feedback.

9aZfak+eRTWWbKhFOqAdDg==

Based on the code review and log analysis, there may be some implementation issues:

  1. After calling mediaStream?.startVideo, you did not call attachVideo to render your own video. Listening to the peer-video-state-change event will not trigger for the current user starting their own video. We suggest the following:

    • After startVideo() resolves, call attachVideo to render the video; Video SDK - web - Core features
    • Or listen to the user-updated event and check the bVideoOn property. If it is true, render this user’s video; otherwise, stop rendering.
  2. The peer-video-state-change event does not reflect the video status of users who were already in the session before you joined. This event only triggers when a user’s video state changes. We suggest the following:

    • After joining the session, call zoomClient.getAllUser() to obtain the list of users already in the session. Iterate through the list, and if a user’s bVideoOn is true, call attachVideo to render their video. Video SDK - web - Core features

Thanks
Vic