You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
mid reuse will cause the new track state ended in Chrome #1343
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
Hey thanks for writing this up. I'm surprised I didn't run into this in Peer Calls, although I do most of my testing in Firefox. I'll see if I can reproduce.
I'm unable to reproduce this in Peer Calls and on Kraken.fm in latest Chrome. I assume you have a different version running on Kraken.fm?
I'm curious to see if you are able to reproduce your issue here https://peercalls.com
I've been trying to run your Kraken.fm project locally for the past hour, but I couldn't get it to work and I don't have any more time. Do you think you could create a short example that reproduces your issue?
Activity
cedricfung commentedon Jul 22, 2020
We have discussed this previously @jeremija
jeremija commentedon Jul 22, 2020
Hey thanks for writing this up. I'm surprised I didn't run into this in Peer Calls, although I do most of my testing in Firefox. I'll see if I can reproduce.
jeremija commentedon Jul 23, 2020
I'm unable to reproduce this in Peer Calls and on Kraken.fm in latest Chrome. I assume you have a different version running on Kraken.fm?
I'm curious to see if you are able to reproduce your issue here https://peercalls.com
I've been trying to run your Kraken.fm project locally for the past hour, but I couldn't get it to work and I don't have any more time. Do you think you could create a short example that reproduces your issue?
cedricfung commentedon Jul 23, 2020
The online kraken uses an old version of pion. To test this you may try to build kraken engine and the web in your local environment.
Fix missing audio when people leave and join.
tarrencev commentedon Sep 15, 2020
@cedricfung i wonder if this is related to #1414?
I wasn't able to reproduce. Could you check again?
cedricfung commentedon Sep 16, 2020
@tarrencev The issue is still there. I just update the https://github.com/MixinNetwork/kraken.fm development guide.
To reproduce it
./kraken -c config/engine.tomlcedricfung commentedon Aug 29, 2021
I can confirm v3.1.0-beta.3 has resolved the issue.