Re: [webrtc-pc] Clarify what happens to codecs when rolling back (#2368)

OK, you mean "swapping out" as in offering a new payload type, having that payload type accepted, and then starting to use it for sending, stopping the use of the previous payload type.
Like this:

offer: PT 74=VP8
answer: PT 74=VP8 (accepted)
(offerer sends using VP8)
offer: PT 74=VP8, PT75=VP9
answer: PT74=VP8, PT75=VP9, preference=75, 74
(offerer switches to VP9)

I think removing PT74 in this case would break stuff, so we shouldn't do it.
Note - I think this is JSEP-land. But it's tangential to the rollback question.

On whether the rollback can free up content-types: Yes, I think it should. The theory of rollback is that the other guy never saw the offer, so it has no chance to avoid using those PTs.


-- 
GitHub Notification of comment by alvestrand
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/2368#issuecomment-558541020 using your GitHub account

Received on Tuesday, 26 November 2019 09:26:02 UTC