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

Properly update metadata when PayloadType is 0 #2783

Merged
merged 1 commit into from
Jun 5, 2024

Conversation

aler9
Copy link
Member

@aler9 aler9 commented Jun 5, 2024

Description

Backport of 8e1b974

In the case where a remote track is sending PCMU with payload type 0
checkAndUpdateTrack will fail to update the track codec and params
(because t.PayloadType() is already 0). Add an extra check to handle
this case.
Copy link

codecov bot commented Jun 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 78.54%. Comparing base (eb6e395) to head (8e1b974).
Report is 10 commits behind head on v3.

Additional details and impacted files
@@            Coverage Diff             @@
##               v3    #2783      +/-   ##
==========================================
+ Coverage   76.32%   78.54%   +2.21%     
==========================================
  Files          87       87              
  Lines        9846     8128    -1718     
==========================================
- Hits         7515     6384    -1131     
+ Misses       1866     1275     -591     
- Partials      465      469       +4     
Flag Coverage Δ
go 80.13% <100.00%> (+2.27%) ⬆️
wasm 65.09% <ø> (+0.64%) ⬆️

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.

@Sean-Der Sean-Der merged commit 6981562 into pion:v3 Jun 5, 2024
10 of 12 checks passed
@Sean-Der
Copy link
Member

Sean-Der commented Jun 5, 2024

thanks @aler9 !

@aler9 aler9 deleted the patch-pcmu-v3 branch June 7, 2024 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants