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 SetFireOnTrackBeforeFirstRTP #2933

Merged
merged 1 commit into from
Oct 15, 2024
Merged

Conversation

edaniels
Copy link
Member

@edaniels edaniels commented Oct 15, 2024

This will allow getting OnTrack events before RTP packets are received (non-simulcast)

Copy link

codecov bot commented Oct 15, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 79.00%. Comparing base (8fbf821) to head (d497d5d).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2933      +/-   ##
==========================================
+ Coverage   78.99%   79.00%   +0.01%     
==========================================
  Files          89       89              
  Lines        8573     8578       +5     
==========================================
+ Hits         6772     6777       +5     
  Misses       1311     1311              
  Partials      490      490              
Flag Coverage Δ
go 80.54% <100.00%> (+0.01%) ⬆️
wasm 63.80% <ø> (ø)

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.

Copy link
Member

@Sean-Der Sean-Der left a comment

Choose a reason for hiding this comment

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

We can't do this unfortunately, would break lots of code. Users perform logic on what codec is being sent

@Sean-Der
Copy link
Member

@edaniels Could we put it behind SettingEngine?

@edaniels
Copy link
Member Author

@edaniels Could we put it behind SettingEngine?

Yeah let's do that. Making Codec/PayloadType blocking feels bad as well

@edaniels edaniels changed the title Fire OnTrack before first RTP (non-simulcast) Add SetFireOnTrackBeforeFirstRTP Oct 15, 2024
@edaniels
Copy link
Member Author

@Sean-Der how about this?

Copy link
Member

@Sean-Der Sean-Der left a comment

Choose a reason for hiding this comment

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

beautiful :)

@edaniels edaniels merged commit 76634b1 into pion:master Oct 15, 2024
19 checks passed
@Sean-Der
Copy link
Member

@edaniels sorry that didn't happen in v4 I think it's a good change!

v5 for sure. I should start a list somewhere .

@edaniels edaniels deleted the alwaysfireontrack branch October 15, 2024 16:10
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