User did not received user-updated event

Description
This is a simple one, for following session ID I have received user-updated event in one user but the other user connected in same session haven’t received the event. Can you please let me know what happened here ?

Session ID : QcMfmskFQIytRjojhYQEEQ==

Which Web Video SDK version?
2.1.10

Device (please complete the following information):

  • OS: Windows
  • Browser: Chrome
  • Browser Version: 118

Additional context
On this side where user-updated was not received, the other person video wasn’t attached and it lead to poor user experience.

1 Like

One more incident to this

Session ID - rM0Q4UInQMyAzhjY0/0Zkg==

Hey @meet-jeavio

Thanks for your feedback.

rM0Q4UInQMyAzhjY0/0Zkg==

The user on Chrome 141 did start the video, but Chrome 118 didn’t call attachVideo to render it.

As you mentioned, the user-updated event wasn’t triggered. We haven’t made any recent changes to this logic, so it’s possible that the event listener was added too late, causing the event to be missed. You can refer to our documentation for guidance on handling this case.

Thanks
Vic

Hello @vic.yang ,

Thanks for the response.

Can you please check for Session ID : QcMfmskFQIytRjojhYQEEQ==

The logic was same for this call and other successful calls, so trying to understand what went wrong here as there aren’t any errors as well.

Hello @vic.yang ,

can you please look into this.

Thanks.

Hello @vic.yang ,

I reviewed the document you shared regarding attaching the peer-video-state-change event. We’ve implemented logic to attach the following events:

  • peer-video-state-change

  • user-updated

  • user-removed

Currently, we are attaching these events after a user joins the session. However, it seems that in some cases, the events are not being attached as expected. I’m trying to identify what went wrong and why these event listeners might not be binding properly.

Could you please help me understand if there’s any specific timing or condition required for attaching these events? Any additional guidance or best practices would be greatly appreciated.

Thanks

Hi @meet-jeavio

Thanks for sharing the information with us.

We recommend binding events using client.on right after obtaining the client from createClient() method, so that you won’t miss any event triggers.

Thanks
Vic

Hello @vic.yang ,

Understood, thanks for sharing best practice.