News for hackers. Stuff that matters.
Re:The Need for Web UDP by jstewartmobile on Wednesday July 26, 2017 @06:49PM (#14861099)
So many of these comments are like "UDP is not TCP!" or "Muh TCP guarantees!", then they go on to mention WebRTC?!!!

I mean, if you're streaming audio and video Real Time, is there really any point to TCP? If a few frames get dropped, then bursted back once the connection stabilizes, does that improve the user experience in any way?

WebRTC seems like a perfect candidate for UDP communications for the actual media streams.

Re:The Need for Web UDP by mrmoka on Wednesday July 26, 2017 @06:54PM (#14861134)
WebRTC is best option for media streams today for peer-to-peer cases.

The goal of the topic is to explore simple option for server-client communication using low-latency communication, without reliability and without ordered delivery.

WebRTC can be used for such case, although it is not designed for it. Due to that implementation is very complex and not much adopted. This is something we trying to explore, either new API or simplifications to WebRTC to make it simple choice for UDP in server-client scenarios.

Re:The Need for Web UDP by detaro on Wednesday July 26, 2017 @06:58PM (#14861151)
Given the kind of feedback happening (and my initial reaction admittedly was similar), maybe a different name would help with perception (I'm already not a big fan of "WebSockets", but "WebTCP" would have been worse), promoting the goals over the implementation detail of UDP?
Re:The Need for Web UDP by mrmoka on Wednesday July 26, 2017 @07:00PM (#14861171)
If there is alternative transport protocol to enable low-latency delivery as efficient as UDP, then it is worth exploring.

UDP - is something been used by many industries for long time and is well known protocol to make a foundation from.

Re:The Need for Web UDP by jstewartmobile on Wednesday July 26, 2017 @06:59PM (#14861158)
It just seems like most real-life usages of WebRTC are either media-centric where TCP does more harm than good, or multiplayer scenarios where it's a wash since TCP's ordering is a pro while TCP's overhead is a con.
Re:The Need for Web UDP by topranks on Thursday July 27, 2017 @09:42AM (#14865140)
TCP congestion control can be very beneficial for streaming applications (when combined with adaptive rate codecs).

With UDP you have to create your own feedback mechanism to find the optimal bitrate to stream to the far side at.

Re:The Need for Web UDP by mrmoka on Thursday July 27, 2017 @10:49AM (#14865802)
This is where DCCP or alternative protocols come in play.