-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Pion spuriously negotiates transport-cc #2943
Comments
I think this might be the culprit: Line 57 in e53cbc4
If you don't provide an interceptor registry, the default interceptors are used (and transport-cc is included in the default interceptors). It appears like this may have been intentional: 21c5a71 One fix would be to supply an empty interceptor registry if you don't want any interceptors. It is documented on |
Thank you so much @kcaffrey that's some great debugging. Completely slipped my mind. Users complained about the inverse. When they created a I documented it here but I think it buries the impact. What should I say/would be better do you think @jech ? |
That would explain the behaviour with v4. But what about the behaviour with v3, where transport-cc is negotiated in the answer but not in the offer? [Edit: this part was split into #2944.]
[...]
My understanding was that simple applications (that want a default set of interceptors) should be using If the other behaviour is desired, I can live with it, but it needs to be documented here: https://pkg.go.dev/github.com/pion/webrtc/v4#API.NewPeerConnection |
I've split the second part of this into #2944, since it appears there is another related bug. |
Thinking about it some more, I don't dislike the new behaviour. Having |
In Galene, I'm explicitly constructing a MediaEngine with just the right parameters. However, Pion is still negotiating transport-cc, even though I didn't enable it in the MediaEngine. More precisely:
Full test at https://go.dev/play/p/IBH55knGgkb
The text was updated successfully, but these errors were encountered: