Re: [mediacapture-record] Add replaceStream to MediaRecorder (#186)

https://github.com/w3c/mediacapture-main/issues/611 was closed. I have no hopes we'll define track order in MediaStream.

MediaRecorder could do what [web audio does](https://github.com/WebAudio/web-audio-api/pull/1811/) to make order deterministic, though uuid *generation* being random, it's not super practical.

I see no value in `replaceStream` if we have `replaceTrack`—the former can be implemented by the latter. In general we've been moving away from stream APIs, to avoid action at a distance.

> AFAIK isolationchange is not implement, correct? Do you mean unmute event?

No, even though no browser currently exposes that or the [isolated](https://w3c.github.io/webrtc-identity/identity.html#dom-mediastreamtrack-isolated) attribute, tracks still have "isolation properties" in all browsers, which [can be observed](https://jsfiddle.net/jib1/1kz9hfaL/) e.g. with cross-origin content. We have to guard cross-origin content.

-- 
GitHub Notification of comment by jan-ivar
Please view or discuss this issue at https://github.com/w3c/mediacapture-record/pull/186#issuecomment-531524506 using your GitHub account

Received on Sunday, 15 September 2019 00:39:42 UTC