@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 accountReceived on Monday, 16 September 2019 15:52:40 UTC
This archive was generated by hypermail 2.4.0 : Saturday, 6 May 2023 21:19:48 UTC