It is pretty easy to get a one way trip time for packets that is sub-second! You see it with conferencing and other real-time communication things.
If you are curious on the 'how' of WebRTC I wrote a Free/Open Source book that goes into the details https://webrtcforthecurious.com/. Happy to answer any particular questions you have.
You are a legend.
Bookmarked.
I added WebRTC support (audio, video, chat) to my already existing application a couple of years ago and felt the technology wasn't exactly ready for primetime. To me, it felt like the out of the box developer experience wasn't exactly great.
I am only saying this because I got to see exactly how much effort is required to get things going. Your work is greatly appreciated
Re:OBS Merges WebRTC Support
by felipellrocha on Saturday June 10, 2023 @05:11PM
(#36275141)
Man... I've been up all night, traveling all day, trying to adjust to the new timezone. Boy, I swear I read "sub-millisecond". Lol. Makes sense :) Thanks for the resource!
It just means the overhead is smaller for the feature set it offers. It’s not faster than bare MJPEG over UDP, but not way slower than that either.
Why shouldn't it be possible? Screen share on a Zoom/Teams meeting is basically a stream with sub-second latency.
Re:OBS Merges WebRTC Support
by Karrot_Kream on Saturday June 10, 2023 @03:02PM
(#36273808)
WebRTC attempts to set up a direct connection between the streamer and the receiver so packets are being sent over directly. This doesn't always work out, say if there's bad connectivity (e.g. NAT) somewhere so the connection uses a TURN server or if there's a conference call situation where an SFU is involved, but usually it works.
SFU?
Re:OBS Merges WebRTC Support
by Karrot_Kream on Saturday June 10, 2023 @03:54PM
(#36274414)
SFUs, or Selective Forwarding Units, receive media streams from multiple participants but only forward a subset of those streams to certain participants. For example, if you're in a Webinar of 20 people, instead of opening up direct connections to all 19 other participants (and having every other participant do so as well), you can open up a direct connection to the presenter and an SFU which will send you an aggregated, downsampled stream of all the other participants. It reduces direct connections across large calls and saves on processing power across all participants by aggregation.
Re:OBS Merges WebRTC Support
by ShadowBanThis01 on Sunday June 11, 2023 @02:44PM
(#36284334)
Then there’s STFU, which mutes all participants to save data on audio.
And easy to find for DOS or DDOS. Doesn't seem like a benifit.
I ran into a situation yesterday where it doesn’t even work between two devices on the same wifi network. It very much depends on the particulars of your connection.
Re:OBS Merges WebRTC Support
by hsudhduhsh on Saturday June 10, 2023 @03:02PM
(#36273803)
most connections today are subsecond... a second is a lot of time.
also this is probably only taking California as the whole world, like everyone does.
Re:OBS Merges WebRTC Support
by imtringued on Saturday June 10, 2023 @04:10PM
(#36274573)
I have less latency to California than most Bluetooth headsets have to your ears.
How is this possible?