-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
NewAPI: register default codecs and interceptors #2630
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #2630 +/- ##
==========================================
- Coverage 76.46% 76.34% -0.13%
==========================================
Files 87 87
Lines 9867 9879 +12
==========================================
- Hits 7545 7542 -3
- Misses 1855 1865 +10
- Partials 467 472 +5
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Hey @Sean-Der, I've fixed the failing tests. Can you approve the CI run please? Should I update the examples and other tests to remove the setup code for default codecs / interceptors? |
Full context/justification for this change
|
The NewAPI() function already registers them by default (since pion#2630)
Skip registering the default codecs and interceptors in NewPeerConnection. The NewAPI() function already registers them by default (since pion#2630)
Skip registering the default codecs and interceptors in NewPeerConnection. The NewAPI() function already registers them by default (since #2630)
Description
As discussed on Discord with @Sean-Der,
NewAPI()
should register default codecs and interceptors unless configured otherwise.