-
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
Missing RTX payload type #254
Comments
|
Yes, it is a duplicate. |
The encoding parameters already contains the "apt". The APT is the main codec. For example, let's say you were RTXing G711 (which is PT=0). Then the APT is "0". However, we don't have a method to specify the payload type for the RTX if not using the default RTX codec payload type from the codec list. For example, RTX codec might be generally defined as payload type "100". But for G711 usage, we might send RTX PT=102 with APT of "0". This I believe we need to add "rtx.payloadType" to be able to define what value to use for the payload type for RTX for a particular encoding if it doesn't use the default generalized RTX PT=100 from the codec list. |
FYI - encodingParams.codecPayloadType is a pointer to the codec to use from the codec list. encodingParams.rtx.payloadType is NOT a pointer, its the actual value to use for the RTX codec for this particular encoding. |
https://tools.ietf.org/html/rfc4588#section-8.4
We need to include a value for the "rtx-time" and it needs to be per encoding. Suggest a ulong (although a ushort [65 seconds] is probably sufficient)... |
Not really duplicate - missing values - changed name of bug to be clearer. |
If encodingParams.rtx.payloadType is not set, then the codec payload type from "RTX" codec in the codec list must be used for RTX's payload type. |
Suggested fix:
payloadType: The payload type to use for retransmission. If unset, rtxTime: As defined in [RFC4588], the time in milliseconds (measured from the |
partial dictionary RTCRtpRtxParameters { Should not have rtxTime as part of the encoding parameters as it's a codec format not a encoding param. |
$related #246
https://tools.ietf.org/html/draft-ietf-rtcweb-rtp-usage-25#section-6.1
https://tools.ietf.org/html/rfc4588#section-8.8
There doesn't appear to be a method to assign the "apt" (aka associated payload type) value for RTX pointing back to original payload type in the ortc specification.
The text was updated successfully, but these errors were encountered: