Transport-cc spec and implementation

656 views
Skip to first unread message

Boris Grozev

unread,
Mar 21, 2017, 10:53:16 AM3/21/17
to discuss...@googlegroups.com
Hello,

We are implementing the transport-cc extension and feedback mechanism,
and noticed a difference between the draft[0] and the webrtc.org
implementation.

For the 1-bit symbols in the RTCP feedback message the draft uses 0 for
"packet received" and 1 for "packet not received" (section 3.1.4). The
code, uses 0 for "packet not received" and 1 for "packet received"
(transport_feedback.cc, the EncodeOneBit function). This is a small
difference, but it breaks interoperability.

Since the draft is now expired (and also because what's in the code
seems to make more sense, matching the values of the 2-bit symbols), I
expect that the current code should be considered the reference in this
case. Is this correct? If so, are there any plans to update the draft?


Regards,
Boris

[0]
https://tools.ietf.org/html/draft-holmer-rmcat-transport-wide-cc-extensions-01

Martin Storsjö

unread,
Mar 21, 2017, 11:12:26 AM3/21/17
to discuss...@googlegroups.com
Hi,

On Tue, 21 Mar 2017, Boris Grozev wrote:

> We are implementing the transport-cc extension and feedback mechanism, and
> noticed a difference between the draft[0] and the webrtc.org implementation.
>
> For the 1-bit symbols in the RTCP feedback message the draft uses 0 for
> "packet received" and 1 for "packet not received" (section 3.1.4). The code,
> uses 0 for "packet not received" and 1 for "packet received"
> (transport_feedback.cc, the EncodeOneBit function). This is a small
> difference, but it breaks interoperability.
>
> Since the draft is now expired (and also because what's in the code seems to
> make more sense, matching the values of the 2-bit symbols), I expect that the
> current code should be considered the reference in this case. Is this
> correct? If so, are there any plans to update the draft?

FWIW, even though that actual sentence seems to have it the wrong way
around, the example below seems to have it the right way, matching the
code.

// Martin

Boris Grozev

unread,
Mar 21, 2017, 1:51:49 PM3/21/17
to discuss...@googlegroups.com
Ah, good point. So it appears it's just a typo in the draft.

Thanks,
Boris
Reply all
Reply to author
Forward
0 new messages