News for hackers. Stuff that matters.
Re:Replacing WebRTC: real-time latency with WebTransport and... by fenesiistvan on Monday October 30, 2023 @12:37PM (#38071830)
I don't get this. After the initial ICE negotiation you can just send raw RTP packets (encrypted with SRTP/DTLS). There is no need for any ACK packets. FEC can be done at codec level. What I am missing?
Re:Replacing WebRTC: real-time latency with WebTransport and... by kixelated on Monday October 30, 2023 @12:41PM (#38071900)
Are you referencing this line? > 2x the packets, because libsctp immediately ACKs every “datagram”.

The section is about data channels, which uses SCTP and is ACK-based. Yes, you can use RTP with NACK and/or FEC with the media stack, but not with the data stack.

Re:Replacing WebRTC: real-time latency with WebTransport and... by the8472 on Monday October 30, 2023 @12:52PM (#38072045)
TCP can coalesce acks for multiple packets, can't SCTP do the same?
Re:Replacing WebRTC: real-time latency with WebTransport and... by kixelated on Monday October 30, 2023 @01:18PM (#38072465)
The protocol can do it, but libsctp (used by browsers) was not coalescing ACKs. I'm not sure if it has been fixed yet.
Re:Replacing WebRTC: real-time latency with WebTransport and... by Sean-Der on Monday October 30, 2023 @01:01PM (#38072179)
SCTP can (and does) a SACK[0] isn't needed for each DATA chunk.

[0] https://datatracker.ietf.org/doc/html/rfc4960#section-3.3.4

Re:Replacing WebRTC: real-time latency with WebTransport and... by pthatcherg on Monday October 30, 2023 @12:54PM (#38072079)
From a server or a native client, you can send whatever RTP packets you want, but you cannot send whatever RTP packets you want from a web client, and you cannot have access to the RTP packets from a web client and do whatever you want with them, at least not very easily. We are working on an extension to WebRTC called RtpTransport that would allow for just that, but it's in early stages of design and standardization.
Re:Replacing WebRTC: real-time latency with WebTransport and... by Sean-Der on Monday October 30, 2023 @01:05PM (#38072262)
That's so exciting! I had no idea you were working on this :)

Here [0] is a link for anyone that is looking for it.

[0] https://github.com/w3c/webrtc-rtptransport/blob/main/explain...