-
-
Notifications
You must be signed in to change notification settings - Fork 338
New issue
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
MediaStream.removeTrack() does no longer work #95
Comments
What I see is that A dirty partial workaround is to also call |
To be fu**ing clear: Having a connected PeerConnection with bidirectional audio/video:
|
To summarize, there are two bugs:
It produces a
The delegate gets called with |
The issue placed at Google's libwebrtc tracker has been updated by devs: I just hate the given rationale. |
It seems that the old behavior (mangling tracks in MediaStream also affects the PeerConnection) will be re-added to libwebrtc: |
Let's wait until libwebrtc devs revert the changes producing this issue. |
Good news! libwebrtc changes producing this issue were reverted yesterday: https://bugs.chromium.org/p/webrtc/issues/detail?id=5265#c18 TASK: Update libwebrtc. |
Bad news: in a first attempt it does not work. |
It works after a clean-up. |
Fixed in 39db0e4 (after upgrading libwebrtc to 11063). Version 2.2.2 coming soon including this fix. |
@ibc can you please mention somewhere (a file in lib, a note in the release notes, etc) what libwebtc version is used? Thanks! |
It is noted in the doc: 11063 |
I mean inside the source tree. If I download a given release I don't know what it bas built with. A "revision" file next to the binary would be nice. Just for documentation purposes. |
But the doc is also inside the project tree... And having to keep the revision in sync in two places (doc and a separate file) would carry problems, don't you agree? |
Oh, wait, I'm dumb, the doc is indeed inside the project! Sorry for the noise :-) |
No longer doc wikis! |
👍 🍰 |
This happens since ab771b0 (latest version of libwebrtc is included in the plugin).
Calling
stream.removeTrack(track)
does not work at all (track remain active in the new SDP) nortrack.stop()
(track media is still being transmitted to the remote peer).Details in the issue reported in the libWebRTC tracker:
The text was updated successfully, but these errors were encountered: