-
Notifications
You must be signed in to change notification settings - Fork 62
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
How should MediaStreamTrack interact with BFCache? #974
Comments
In Safari, page is salvageable even if it has MediaStreamTracks:
|
Firefox uses option 1 today but we'd love to get away from it if possible. I like the Safari behavior described above, but webcompat seems questionable since websites handle I simulated it in Firefox by removing
Of course ↻ is a fine workaround, but some outreach would seem necessary to improve this. @youennf somewhat related, what does Safari do with BFCache of connected/unconnected RTCPeerConnections? 1. Not counting users with 2+ devices able to recover by flipping device back and forth. |
We are shutting down the TCP/UDP connections. |
@jan-ivar thanks for doing the research. I feel like if the event already exists and is something that clients should already be handling (even if some are not) then we compat is less of a concern. These clients are already somewhat broken. BFCache will make that worse but also probably cause it to be fixed pretty quickly. @alvestrand for a Chrome media-centric opinion. |
This issue was discussed in WebRTC February 2024 meeting – 20 February 2024 (How should MediaStreamTrack interact with BFCache?) |
If a
MediaStreamTrack
islive
when navigating away from the page, what should happen? Some possibilities (based on my very limited knowledge ofMediaStreamTrack
).ended
, event is delivered to JSlive
. If the page is restored, things continue on as beforeAre there other options? I would very much prefer to no do 1.
@alvestrand @guidou please add people from Moz and Safari if possible.
The text was updated successfully, but these errors were encountered: