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? AFAIK Firefox doesn't allow recording of remote tracks period.

I also did this [demo page](https://jan-ivar.github.io/dummy/replace-track.html) 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 

Just wanted to share what I'd tried.




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

Received on Thursday, 12 September 2019 20:50:41 UTC