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

SampleBuilder: Add option to return RTPHeaders #2687

Merged
merged 1 commit into from
Mar 7, 2024

Conversation

at-wat
Copy link
Member

@at-wat at-wat commented Feb 29, 2024

Replaces #2681 which returned only a head packet's header.
When the option WithRTPHeaders is set, SampleBuilder returns RTP headers of the packets forming the sample as Sample.RTPHeaders.

This feature is useful for getting RTP extension data associated with the sample

Lint job is failing due to pion/.goassets#201

reference

@at-wat at-wat self-assigned this Feb 29, 2024
Copy link

codecov bot commented Feb 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 76.51%. Comparing base (45e3746) to head (f467562).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2687      +/-   ##
==========================================
+ Coverage   76.42%   76.51%   +0.09%     
==========================================
  Files          87       87              
  Lines        9928     9934       +6     
==========================================
+ Hits         7587     7601      +14     
+ Misses       1870     1865       -5     
+ Partials      471      468       -3     
Flag Coverage Δ
go 78.05% <100.00%> (+0.10%) ⬆️
wasm 64.65% <100.00%> (+0.05%) ⬆️

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.

Replaces fa1f5d9 which returned only a head packet's header.
When the option WithRTPHeaders is set, SampleBuilder returns
RTP headers of the packets forming the sample as Sample.RTPHeaders.
@at-wat at-wat force-pushed the samplebuilder/add-option-to-return-rtp-headers branch from 35243cb to f467562 Compare March 4, 2024 03:32
@at-wat at-wat closed this Mar 4, 2024
@at-wat at-wat reopened this Mar 4, 2024
@at-wat at-wat merged commit 3f6d94a into master Mar 7, 2024
27 of 30 checks passed
@at-wat at-wat deleted the samplebuilder/add-option-to-return-rtp-headers branch March 7, 2024 03:46
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.

2 participants