Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Video Track Assignment List is not received after one user left the conference room #6919

Open
mekya opened this issue Jan 6, 2025 · 1 comment
Assignees

Comments

@mekya
Copy link
Contributor

mekya commented Jan 6, 2025

Environment

  • Ant Media Server version: 2.12.0
  • Browser name and version: Chrome

Steps to reproduce

  1. Create a conference room through sample(conference.html) and let 3+ guys join in the call
  2. NewStreamAvailable callback is received from JS SDK for each user. It contains audio/video track and steramId
  3. VIDEO_TRACK_ASSIGMENT_LIST and AUDIO_TRACK_ASSIGMENT_LIST callbacks are received including streamLabel(track label in WebRTC) and streamId(real user streamId in the backend)
  4. Process VIDEO_TRACK_ASSIGMENT_LIST and AUDIO_TRACK_ASSIGMENT_LIST for matching
  5. Let one user(user1) leave the room

Expected behavior

VIDEO_TRACK_ASSIGMENT_LIST should be called again. It is required because UI will update the video tiles and similar things.

Actual behavior

Only AUDIO_TRACK_ASSIGMENT_LIST is being called and no VIDEO_TRACK_ASSIGMENT_LIST is called.

@mekya mekya moved this to 📋 Backlog in Ant Media Server Jan 6, 2025
@mekya mekya moved this from 📋 Backlog to Next Sprint in Ant Media Server Jan 9, 2025
@burak-58 burak-58 self-assigned this Jan 13, 2025
@burak-58 burak-58 moved this from Next Sprint to 🔖 Sprint in Ant Media Server Jan 13, 2025
@burak-58
Copy link
Contributor

In case of someone leaves the room, server notifies frontend with TRACK_LIST_UPDATED event notification through datachannel. When frontend gets this notification, it can call requestVideoTrackAssignments(roomName) of WebRTCAdaptor. Then server responds with the Video Track Assignment list.

@mekya mekya moved this from 🔖 Sprint to After sprint in Ant Media Server Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: After sprint
Development

No branches or pull requests

2 participants