Skip to content

Add NewPacketizerWithOptions for configuration#305

Merged
JoTurk merged 1 commit intomasterfrom
new-packetizer-with-options
Apr 26, 2025
Merged

Add NewPacketizerWithOptions for configuration#305
JoTurk merged 1 commit intomasterfrom
new-packetizer-with-options

Conversation

@JoTurk
Copy link
Copy Markdown
Member

@JoTurk JoTurk commented Apr 25, 2025

Description

Add NewPacketizerWithOptions to create and configure packetizers, mainly to make it possible to create packetizers with custom timestamp, And for extra options in the future.

Also removed ssrc and PayloadType from the arguments, we don't use it.

This probably should replace NewPacketizer in the new major release.

Reference issue

Fixes #111

Add NewPacketizerWithOptions to create and configure packetizers,
mainly to make it possible to create packetizers with custom timestamp,
And for extra options in the future.
@codecov
Copy link
Copy Markdown

codecov bot commented Apr 25, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.88%. Comparing base (bbeab7e) to head (46fffae).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #305      +/-   ##
==========================================
+ Coverage   86.76%   86.88%   +0.11%     
==========================================
  Files          26       26              
  Lines        3061     3087      +26     
==========================================
+ Hits         2656     2682      +26     
  Misses        348      348              
  Partials       57       57              
Flag Coverage Δ
go 86.88% <100.00%> (+0.11%) ⬆️
wasm 86.32% <100.00%> (+0.11%) ⬆️

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.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@JoTurk
Copy link
Copy Markdown
Member Author

JoTurk commented Apr 25, 2025

@Sean-Der this has been in my mind for a while, I'm not sure if this is the right way to do it or wait for the new major release!

@Sean-Der
Copy link
Copy Markdown
Member

Go for it! Much nicer not having all the args :)

@JoTurk JoTurk merged commit 46fffae into master Apr 26, 2025
15 checks passed
@JoTurk JoTurk deleted the new-packetizer-with-options branch April 26, 2025 18:13
@sylwek78
Copy link
Copy Markdown

@roblofthouse

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.

Allow the ability to define the initial timestamp for the packetizer.

3 participants