- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I'm using intel cs for webrtc v3.5 conference and found an user-left issue on the web client SDK.
When "A" user joined the room and when "B" user joined the same room, if "A" user is left the room (close browser window for example) then user-left event not triggered on "B" user side.
- Tags:
- HTML5
- JavaScript*
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aydin, we cannot reproduce this issue, could you answer following questions to provide more info:
1. User A and User B are both in what browser (firefox, chrome safari or ie?) what's the browser version
2. What's the detailed scenario? If adding a third user to room, will it received user-left event?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for reply.
1. Both users browser is Google Chrome 62.0.3202.94 and OS is macOS High Sierra 10.13.1
2. Here is the detailed scenario:
Let's say a user joined the room. This user is "first user in the room" and we called "A". And then another user joined the room and this user is "second user in the room" and we called "B".
When "A" closed his browser window then "user-left" event not fired on the "B" side. I inspect websocket messages on the "B" side. "42["participant",{"action":"leave","data":"******"}]" message received from the portal. But "user-left" not fired by the SDK.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Did you successfully received user-left event before? You just used default 3.5 release package SDK? How do you listen user-left event, here is an example:
client.addEventListener("user-left", function (evt) {...});
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm not sure this issue was happened before.
We using angular 4 for web client and here is the listen code:
this.client = window['Woogeen'].ConferenceClient.create({ iceServers: iceServers });
this.client.on('user-left', event => this.onUserLeft(event));
When "B" left the room, user-left triggered on the "A" side. But when "A" left the room, user-left not triggered on the "B" side.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aydin, generally our sdk should work well but we did not test it with angular 4, currently our sdk are fully tested on mainstream browsers. Please double check your code
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm created javascript project for testing intel mcu. You can test this scenario with this project. Issue still happening.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We will try to reproduce this issue, stay tuned
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Any updates?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I found why this is happening. When B user joining the room, conferenceClient.participans = [] but for A user conferenceClient.participants = [["B user id": ...]. Participants array empty for second, third or after joined users. Maybe this info help to solve the issue.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
A new version 3.5.2 has been released with fix of this bug, please have a try.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page