-
Notifications
You must be signed in to change notification settings - Fork 14
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
Make codecs and rtp header extensions configurable #14
Conversation
Codecov Report
@@ Coverage Diff @@
## master #14 +/- ##
==========================================
+ Coverage 71.83% 73.79% +1.95%
==========================================
Files 9 9
Lines 348 374 +26
==========================================
+ Hits 250 276 +26
Misses 98 98
Continue to review full report in Codecov by Sentry.
|
b14aae2
to
02b4859
Compare
9e6be7a
to
89301cc
Compare
9f22c61
to
afe84de
Compare
@spec is_supported_codec(t(), RTPCodecParameters.t()) :: boolean() | ||
def is_supported_codec(config, codec) do | ||
# This function doesn't check if rtcp-fb is supported. | ||
# Instead, `is_supported_rtcp_fb` has to be used to filter out | ||
# rtcp-fb that are not supported. | ||
Enum.find( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Enum.find
doesn't return a boolean
, contrary to what the function spec suggests.
test/configuration_test.exs
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All is good, but this is more like an integration tests, shouldn't there be some more function specific tests, I mean functions from the Configuration
module?
afe84de
to
0b89149
Compare
No description provided.