Re: [mediacapture-main] How should MediaStreamTrack interact with BFCache? (#974)

In Safari, page is salvageable even if it has MediaStreamTracks:
- If the track is a capture track (generated by `getUserMedia` or `getDisplayMedia`), the track is stopped as we do not want capture to be restored. We queue an `ended` event which will be delivered if the page is ever restored.
- If the track is not a capture track (canvas, RTCPeerConnection, web audio), the track stays alive (that does not prevent things to happen to the source objects like RTCPeerConnection).

-- 
GitHub Notification of comment by youennf
Please view or discuss this issue at https://github.com/w3c/mediacapture-main/issues/974#issuecomment-1797963739 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 7 November 2023 07:37:27 UTC