wait, webrtc is based on sctp?
Conversation
Replying to
It's SCTP over DTLS over UDP rather than actual SCTP.
It will benefit from being able to use QUIC instead.
2
2
20
Multiplexing is important for soft-real-time applications like voice/video calls. Even for a one-on-one call, it isn't suited to a single stream. If you don't receive the information in time, it's not relevant anymore, and the most recent information shouldn't be delayed for it.
1
4
Also works well for handling multiple audio / video streams well at the same time without needing a connection for each. TCP is not very good even if you really do only need a single blocking stream and it's horrible for soft real time use cases like this. Result is not pretty.
1
Replying to
yeah i know why multiplexing is valuable, i was surprised they didn't go with a homegrown design
1
1
Replying to
Probably to get it shipped in a reasonable time. I don't think SCTP is great but it would probably take a long of time to design something without awful mistakes. QUIC got split from HTTP/3 as part of standardization so that it will be usable for use cases like this. I find it...
1
2
... a bit strange that QUIC was developed for web requests when it makes a much bigger difference for other use cases. It's a better TCP with superior congestion control, multiplexing and built-in TLS which uses the initial handshake for TLS as long as certificates are small.
1
2
HTTP/2 isn't strictly better than HTTP/1.1 because multiplexing over a single TCP connection has serious drawbacks. It's an overall improvement for browsers but it ends up making the problems with TCP much more apparent. So they made a problem that they had to solve with HTTP/3.

