Re: Mapping RTX in SDP to ORTC RtpParameters

2016-03-04 1:24 GMT+01:00 Bernard Aboba <Bernard.Aboba@microsoft.com>:
> We probably should have examples in the spec to explain on how this all works, not only for RTX, but also for RED and FEC.
>
> In the example, you are retransmitting VP8 (PT 100, SSRC 1762798695) with RTX (PT 96, SSRC 3360043549), and you are retransmitting VP9 (PT 101, SSRC 1762798695) with RTX (PT 97, SSRC 4444444444), correct?

Right, but as Sergio said it should use the same stream/SSRC for both
VP8 and VP9, so let me rewrite your solution into this:


> My understanding is that to do this you only need to set RTX as a codec once,  such as
>      parameters. codecs[5].name = "rtx";
>      parameters.codecs[5].payloadType = 96;
>
> Then for VP8, you will set:
>       parameters.codecs[3].name = "vp8"
>       parameters.codecs[3].payloadType = 100;
>       parameters.encodings[0].ssrc = 1762798695;
>       parameters.encodings[0].codecPayloadType = 100;
>       parameters.encodings[0].rtx.ssrc = 3360043549;
>       parameters.encodings[0].rtx.payloadType = 96;
>
> For VP9, you will set:
>
>       parameters.codecs[4].name = "vp9"
>       parameters.codecs[4].payloadType = 101;
>       parameters.encodings[0].ssrc = 1762798695;
>       parameters.encodings[0].codecPayloadType = 101;
>       parameters.encodings[0].rtx.ssrc = 3360043549;
>       parameters.encodings[0].rtx.payloadType = 97;



> My understanding is that to do this you only need to set RTX as a codec once

Why just once? even more: why is RTX "codec" required at all?




-- 
Iñaki Baz Castillo
<ibc@aliax.net>

Received on Friday, 4 March 2016 11:01:23 UTC