-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Fix rtcp_feedback for audio not written into flat buffers. #1401
Conversation
Is this just a bug in Rust? |
Also please add "Fixes #XXXX" to link the issue. |
I assume yes. And it was really hard to find out, because the transport CC was lost just before writing into flat buffers. In ortc objects it was reported that transport CC is active and enabled, while it was not. Thanks to example apps they dramatically helped to debug the problem. This is only reproduced with Rust, I've also checked JS demo app with disabled video - it does not have the problem. |
We only enable TCC server is a producer announces transport-cc support in its codec.rtcpFeedback (and if the clients support the corresponding wide-se-number RTP extension). libwebrtc includes it in OPUS codec, that's why it works. |
Please add this in the PR description rather than in the title. That's what GH expects to link PR and issue. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The change makes sense to me, but curious why @jmillan decided to explicitly skip audio when he introduced this code. This doesn't look like an accident.
Yes, exactly what I've managed to find out myself when debugging. But this information that opus producer supports transport CC were lost when rtp parameters were serialized into flat buffers. |
Probably because he assumed that only video codecs can include |
At that time I was doing quite a mechanic work porting types to FBS, so it could have been like that since the beginning, or I may have introduced it at that moment, I don't know. |
Fixes #1400