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

Skip padding packet for simulcast probe #2655

Merged
merged 1 commit into from
Feb 2, 2024
Merged

Conversation

cnderrauber
Copy link
Member

Skip padding packet for simulcast probe

Fix rtx attributes panic for nil map

Copy link

codecov bot commented Feb 2, 2024

Codecov Report

Attention: 4 lines in your changes are missing coverage. Please review.

Comparison is base (c259e89) 76.37% compared to head (0e70684) 76.37%.

Files Patch % Lines
rtpreceiver.go 0.00% 3 Missing ⚠️
peerconnection.go 83.33% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2655   +/-   ##
=======================================
  Coverage   76.37%   76.37%           
=======================================
  Files          87       87           
  Lines        9895     9905   +10     
=======================================
+ Hits         7557     7565    +8     
- Misses       1866     1868    +2     
  Partials      472      472           
Flag Coverage Δ
go 77.90% <69.23%> (+<0.01%) ⬆️
wasm 64.54% <ø> (ø)

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.

Skip padding packet for simulcast probe
Fix rtx attributes panic for nil map
@cnderrauber cnderrauber force-pushed the skip_padding_simulcast branch from 519c332 to 0e70684 Compare February 2, 2024 02:45
Copy link
Member

@davidzhao davidzhao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

especially fixing that panic! I guess no one's using this path :)

@davidzhao davidzhao merged commit dae5e8e into master Feb 2, 2024
16 of 17 checks passed
@davidzhao davidzhao deleted the skip_padding_simulcast branch February 2, 2024 06:57
PayloadType: 96,
Padding: true,
},
Payload: []byte{0x00, 0x02},
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@cnderrauber Sorry, missed this. This has two byte payload, but the check for padding only checks for Padding == true && payload length is zero. Here it is not. I am guessing this is not fulfilling rids because the extension is not set.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops, please ignore me. The payload last byte is padding size. My bad. Sorry about the fake news.

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.

4 participants