sender.setTrack(): Cannot replace a track that is ended #589

Closed
aboba opened this Issue Sep 9, 2016 · 0 comments

Projects

None yet

2 participants

@aboba
Contributor
aboba commented Sep 9, 2016

Currently in Section 5.3, it is stated:

"4. If track.stop() has been called, return a promise rejected with an InvalidStateError."

In WebRTC 1.0, the WG decided that it should be possible to use replaceTrack() to replace an "ended" track.

Related to WebRTC 1.0 issue w3c/webrtc-pc#732

@aboba aboba added a commit that referenced this issue Sep 9, 2016
@aboba aboba setTrack with the previous one as ended
Fix for Issue: #589
Related to WebRTC 1.0 PR w3c/webrtc-pc#758
ab06a9a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment