-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Your environment.
- Version: v3 master
- Browser: Chrome 84 on Ubuntu
What did you do?
With kraken.fm (https://vec.io/posts/deploy-a-group-audio-conferencing-service), A and B in the room, if A leaves and joins again, there will be no audio wave for A on B's Chrome. If A leaves and C joins, there will also no audio wave for C on B's chrome.
However, A and C's audio could be heard by B, then I inspected the MediaStreamTrack, and found its state is 'ended'.
It may be that the mid reuse causes Chrome to treat the tracks ended?
What did you expect?
What happened?
Related code flow
- A Chrome publish to pion
- B Chrome publish to pion
- Pion publish all streams to B
- A leave
- Pion RemoveTrack(oldA) and publish to B
- B Chrome get onmute and onended event for the old A track
- A join
- Pion AddTrack(newA) and publish to B
- B Chrome get ontrack but readyState: "ended"
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working