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
[RtpParameters] Spec should state that codec.payloadType
must be unique
#405
Comments
Also, And when it happens that each codec should have its specific encoding parameters, it comes to my mind that |
Agreed on |
I think we should make this subject more strict, so there are no redundant/similar, but different, ways of expressing the same. My 2 cents:
|
The spec says that if encodings[].codecPayloadType is unset, the browser will choose it. In practice I do not see how this can work - for a sender, the encoder will not know what codec to use to encode, and for a receiver it will not know how to decode packets routed to it. |
OK, so then why aren't encoding defined within codecs? At the end we are agreeing in:
So, it would be much easier as follows:
(and remove The new |
@aboba wrote:
The previously discussed behaviour was pick the first useful codec in the list and use it. That's how I've implemented mine. This is not a required parameter in my implementation. @ibc I don't like encodings being inside the codec. Some codecs like ulp+fec, red, etc require multiple codecs in coordination to work. Plus, I don't like having to enumerate a list within a sub list to figure out what's going on. This would be a major change at this point. The idea behind the codec list is to indicate the codecs available to the system. The encodings was to describe each simulcast or layer. They have separate meanings. |
I agree as long as the spec properly states the constraints and requirements of both
|
A few questions:
|
I assume that
I think that a mapping between PT and codec name is desirable.
I think we better prohibit duplicated PT for different codecs within same
I don't know too much about simulcast/SVC. Does it work by having different streams (so different SSRCs) and sending the same PT over them with different configuration? If so, then of course we need to allow different encoding entries with same |
Doc needs to add that capabilities |
PT is codec list must already be unique for any given list of codecs within a |
on |
If two codecs (let's say VP8 and VP9) within the same
RtpParameters
share the samepayloadType: 100
then the world explodes (although it may be valid in the ORTC syntax).IMHO the spec should state that
codec.payloadType
must be unique within the sameRtpParameters.codecs
.The text was updated successfully, but these errors were encountered: