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

@pehrsons If we can make those guarantees then I agree we shouldn't return a promise. Only if the asynchronous part can fail would a promise be needed. I don't think that's the case here. 

`replaceTrack` should probably throw if either track is `ended`. That would avoid the race you mention. 

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

Received on Monday, 16 September 2019 15:52:40 UTC