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

Add support for rtcp-fb:* (Chrome PSA) #152

Merged
merged 1 commit into from
Mar 29, 2024

Conversation

thebongy
Copy link
Contributor

@thebongy thebongy commented Apr 3, 2023

Description

According to Chrome PSA: https://groups.google.com/g/discuss-webrtc/c/Y_h2B-NOzW0 rtcp-fb:* might start getting sent by chrome in M112. For more information, refer to "wildcard" defined in (https://www.rfc-editor.org/rfc/rfc4585.html#section-4.2)

This was rolled back in M112 as it broke a few projects, but may land again in M114 according to maintainers.

Also, according to https://webrtc.googlesource.com/src.git/+/815522782a92e168b80edc760b2e53e4d0e4ea0d%5E!/#F0 chrome may plan on sending both rtcp-fb:* and rtcp-fb:<int> variants for some time to allow migration in downstream projects. This change correctly parses the wildcard case to add the feedback to all payload types found in the SDP, to maintain compatibility with pion project.

@codecov
Copy link

codecov bot commented May 5, 2023

Codecov Report

Attention: Patch coverage is 80.64516% with 6 lines in your changes are missing coverage. Please review.

Project coverage is 64.96%. Comparing base (84cf380) to head (b7d0ec1).

Files Patch % Lines
util.go 80.64% 5 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #152      +/-   ##
==========================================
+ Coverage   64.67%   64.96%   +0.29%     
==========================================
  Files          12       12              
  Lines        1571     1587      +16     
==========================================
+ Hits         1016     1031      +15     
- Misses        454      455       +1     
  Partials      101      101              
Flag Coverage Δ
go 64.96% <80.64%> (+0.29%) ⬆️
wasm 64.96% <80.64%> (+0.29%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@stv0g stv0g force-pushed the feat/wildcard-rtcp-fb branch 2 times, most recently from 38eca8b to a243a01 Compare May 5, 2023 12:49
@stv0g
Copy link
Member

stv0g commented May 5, 2023

Lets a wait a bit more until its merged into Chrome. Currently, it has not made it into 112:

https://groups.google.com/g/discuss-webrtc/c/Y_h2B-NOzW0/m/26SqldfuAgAJ

@artofey
Copy link

artofey commented Aug 16, 2023

And why wait for Chrome if it is already described in the RFC?

@Sean-Der
Copy link
Member

Sorry I didn't merge this sooner! LGTM merging now, will also update pion/webrtc to respect these values

According to Chrome PSA:
https://groups.google.com/g/discuss-webrtc/c/Y_h2B-NOzW0 rtcp-fb:*
might start getting sent by chrome in M112. This was rolled back but may
land again in M114 according to maintainers.

Also, according to
https://webrtc.googlesource.com/src.git/+/8155227/#F0
Chrome may plan on sending both rtcp-fb:* and rtcp-fb:<int> variants for
some time to allow migration in downstream projects.
This change correctly parses the wildcard case to add the feedback to
all payload types found in the SDP, to maintain compatibility with Pion.

Resolves pion#172
@Sean-Der Sean-Der merged commit 84d5ab0 into pion:master Mar 29, 2024
14 checks passed
@Sean-Der
Copy link
Member

Amazing work @thebongy

I am sorry this took so long.

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.

None yet

4 participants