Closing RTCPeerConnection does not trigger RTCP BYE in Firefox 60
Categories
(Core :: WebRTC: Networking, defect, P2)
Tracking
()
People
(Reporter: wilhelm.wanecek, Unassigned)
References
Details
(Keywords: parity-chrome)
Comment 1•7 years ago
|
||
Comment 2•7 years ago
|
||
Reporter | ||
Comment 3•7 years ago
|
||
Comment 4•7 years ago
|
||
Comment 5•7 years ago
|
||
Updated•7 years ago
|
Comment 6•7 years ago
|
||
Reporter | ||
Comment 7•7 years ago
|
||
Comment 8•7 years ago
|
||
Updated•7 years ago
|
Comment 9•4 years ago
|
||
I am fixing this in bug 1654112: D124370, D124371, D124372.
Comment 10•4 years ago
|
||
AFAICT this works for me, even without bug 1654112. Using mozregression and https://jsfiddle.net/jib1/y90sv8vu/ it worked for me all the way back to bug 1595479.
Andreas, can you clarify what was fixed in comment 9? Is it intermittent?
Comment 11•4 years ago
|
||
It might have worked prior to bug 1654112 by chance; it was timing dependent. Bug 1654112 made it much more likely, which showed in tests (and pernosco). The fixes in comment 9 were to arrange the shutdown sequence of a peer connection / transceiver so that the webrtc::Call instance is destroyed before we start tearing other things down. With other things mainly being the network transport.
What would happen was that the transport and the webrtc::Call instance were destroyed in parallel on separate threads, so when the RTCP BYE was sent from the webrtc::Call in destruction, it reached a closed transport and got dropped.
You can kind of tell from the fruitful history of RTCPeerConnection-remote-track-mute.https.html.ini.
Updated•4 years ago
|
Description
•