@icedquinn I got webrtc streaming working on Oven (was a routing problem on my part) and it still had about 4 seconds of delay, which is about the same as my old streaming server on a good day. This is on a very powerful machine so I don't know what I can do to approach the hypothetical "sub-second" streaming.
@icedquinn suposedly yes but since you mention it I don't know if it was falling back to something else like the websocket it uses to establish the webrtc connection
SRT is better, RIST is better than SRT, but you are lucky to even get SRT ingress on something. browser streaming is more geared to mass distribution than interactive stuff. interaction has been shunted to webrtc, which is basically an enshittified SIP.
@icedquinn so SRT actusally has a latency option, I don't know what it does, but it might be the reason I have four seconds of delay. I am using SRT upload.
> OBS Studio will accept options in the syntax: srt://IP:port?option1=value1&option2=value2. The full list of options is those supported by FFmpeg: http://ffmpeg.org/ffmpeg-protocols.html#srt.
> The most important option is latency in microseconds (μs). It has a default value of 120 ms = 120 000 μs and should be at least 2.5 * (the round-trip time between encoder and ingest server, in ms).
Ex: for a latency of 1 sec, set latency=1000000 . https://obsproject.com/kb/srt-protocol-streaming-guide
@Moon nah it crashes because obs is jank :neocat_boop_owo:
higher delays just give you more tolerance for network congestion.
that's why HLS/DASH are like they are. they're built to ship to lots of recipients over hostile networks in a one-way transmission. the latency is there so various clients can hide the network issues in the buffer.
@Moon its possible to have ffmpeg stream and bypass obs alltogether, but then you lose all the things that obs does competently that are quite expensive to replace.
@Moon i looked in to it once. OBS is very hard to replace.
on macos there was something called wirecast which does similar things, with a 500$ price tag.
in the oss sector the alternatives are snowmix or casparcg. both of which are nowhere near user friendly and presume you are looking for middleware to build a production room with
@Moon@icedquinn from my experience, there's a point at which many programmers become excellent at algorithms but their code architecture resembles the Eiffel tower assembled with toothpicks and no glue
@icedquinn@Moon yes but technical debt eventually keeps you from shipping at all because everything breaks for every feature you add. I've seen it happen.
Add comment