We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
see: https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/removeTrack
If the track is already stopped, or is not in the connection's senders list, this method has no effect.
But the shim implementation throws InvalidAccessError if removeTrack is called twice.
InvalidAccessError
removeTrack
The text was updated successfully, but these errors were encountered:
This is partly due to not implementing the transceiver model. See https://w3c.github.io/webrtc-pc/#dom-rtcpeerconnection-removetrack
The error is consistent with Chrome (I think) when you try to do this:
const pc = new RTCPeerConnection(); pc.addStream(somelocalstream); const sender = pc.getSenders()[0]; pc.removeTrack(sender); pc.removeTrack(sender);
which throws the same error. Definetly something to fix but the transceiver model is a big chunk of work.
Sorry, something went wrong.
No branches or pull requests
see: https://developer.mozilla.org/en-US/docs/Web/API/RTCPeerConnection/removeTrack
If the track is already stopped, or is not in the connection's senders list, this method has no effect.
But the shim implementation throws
InvalidAccessError
ifremoveTrack
is called twice.The text was updated successfully, but these errors were encountered: