W3C home > Mailing lists > Public > public-webrtc@w3.org > May 2018

Re: Transport / encoder coupling (Re: Use cases / requirements for raw data access functions)

From: Peter Thatcher <pthatcher@google.com>
Date: Mon, 21 May 2018 14:14:25 -0700
Message-ID: <CAJrXDUHXD8D1a48huhaHh+umKNommuNBg_e++BnSAmubQ2tz6A@mail.gmail.com>
To: Harald Alvestrand <harald@alvestrand.no>
Cc: public-webrtc@w3.org
On Sun, May 20, 2018 at 9:14 PM Harald Alvestrand <harald@alvestrand.no>
wrote:

> On 05/19/2018 12:11 AM, Sergio Garcia Murillo wrote:
>
>
> We should separate transports from encoders (split the RtpSender in half)
> to give more flexibility to apps.
>
>
> I agree with that, but given RTP packetization is codec specific, we can't
> ignore that.
>
> I think we can translate this into requirements language:
>
> IF we specify the transport separately from the encoder
>
> THEN we need a number of pieces of API, either as JS API or as
> specifications of "what happens when you couple a transport with an
> encoder":
>
> - If the transport is like RTP, and isn't codec agnostic, it needs
> information from the encoder about what the codec is, and may need to
> inform the encoder about some transport characteristics (like max MTU size
> for H.264 packetization mode 0).
>
> - If the transport is congestion controlled (and they all are!), then
> there needs to be coupling of the transport's congestion control with the
> encoder's target bitrate
>
- If the transport isn't reliable, and may toss frames, it needs to be
> coupled back to the encoder to tell it to do things like stop referring to
> a lost frame, or to go back and emit a new iframe.
>
> Handling the data is just one part of handling the interaction between
> transport and encoder.
>
>
You are correct that a transport needs to have certain signals like a BWE.
It's also useful if it can give info about when a message/frame has been
either acked or thrown away.

You are also correct that a high-level RTP transport would need to be told
how to packetize.  But a low-level RTP transport could leave that up to the
app.



> --
> Surveillance is pervasive. Go Dark.
>
>
Received on Monday, 21 May 2018 21:15:01 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:18:41 UTC