-
Notifications
You must be signed in to change notification settings - Fork 42
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
RtpSender.send() must enforce stricter rules #564
Comments
Related to #473 |
Beyond developing the checks, there is also the question of how error reporting works if an issue is found. |
We don't have a granular API here but a |
@ibc did we get everything? |
Sorry, I was on vacation. Yes, much better now. |
RtpSender.send()
:That is a too much simplistic check. The fact that the codec
name
matches one ingetCapabilities()
does not mean, at all, that it is the "same" codec. Lot of scenarios here:send()
is called with an "audio/opus" codec that includesrtcpFeedback
entries not present in the "audio/opus" codec of the local capabilities?clockRate
does not match?packetization-mode
0 and 1, butsend()
is called withcodec.parameters.packetizationMode: 2
.The text was updated successfully, but these errors were encountered: