Skip to content
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

Don't send receiver reports for SSRC during simulcast probe #623

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

anders-avos
Copy link
Contributor

libwebrtc will stop sending SDES headers after the first receiver report on an SSRC1. This breaks simulcast probing if the receiver report is sent before probing is completed. This change delays receiver reports for probing SSRCs until the first non-probe packet is received.

I didn't find any easy way to get this information into the interceptor, so I opted for using attributes. Let me know if you prefer some other means.

Footnotes

  1. https://github.com/webrtc-sdk/webrtc/blob/0ae5688d4d490274ea47fee3f87f622ef3f13113/modules/rtp_rtcp/source/rtp_sender.cc#L509

More robust when used with interceptors that modify read packets.
libwebrtc will stop sending SDES headers after the first receiver
report on a SSRC. This breaks probing if the receiver report is sent
before probing is completed. This change delays receiver reports for a
SSRC until the first non-probe packet is received.
@anders-avos anders-avos force-pushed the suppress-probe-receiver-reports branch from dfd2697 to ead8d6d Compare October 28, 2024 08:33
Copy link

codecov bot commented Oct 28, 2024

Codecov Report

Attention: Patch coverage is 72.91667% with 13 lines in your changes missing coverage. Please review.

Project coverage is 60.63%. Comparing base (a1611af) to head (ead8d6d).

Files with missing lines Patch % Lines
interceptor/src/report/receiver/receiver_test.rs 67.74% 1 Missing and 9 partials ⚠️
...tc/src/peer_connection/peer_connection_internal.rs 57.14% 3 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master     #623   +/-   ##
=======================================
  Coverage   60.63%   60.63%           
=======================================
  Files         471      471           
  Lines       48430    48465   +35     
  Branches    12280    12291   +11     
=======================================
+ Hits        29365    29389   +24     
  Misses       9676     9676           
- Partials     9389     9400   +11     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@anders-avos
Copy link
Contributor Author

Any updates on this? I'm happy to make changes if there are other ideas on how to propagate the probe status into the interceptor!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant