Re: [mediacapture-record] Add replaceTrack method to MediaStream (#167)

> I've been pondering whether this is going to work right with resolution changes. Does Chrome let you record a remote track that changes resolution?

Tracks change resolution all the time, so there are no new problems surfacing from adding an API like this.

> AFAIK Firefox doesn't allow recording of remote tracks period.

We have allowed and supported recording remote tracks for years. [Bug 1212237]( makes it a bit annoying though.

> I also did this [demo page]( where I remove a stream's video track and add a different video track on the same event loop (the API alternative I mentioned). This causes `UnknownError` from MediaRecorder in Firefox. In Chrome there's no error, but I don't see a recording (maybe autoplay restrictions interfering?) cc @Pehrsons

Right, we don't fire InvalidModificationError for track set changes yet. I filed [bug 1581139](

> Just wanted to share what I'd tried.

GitHub Notification of comment by Pehrsons
Please view or discuss this issue at using your GitHub account

Received on Friday, 13 September 2019 15:07:10 UTC