An elegant one to many low-latency realtime streaming solution

Only in your dream…..or?

Jerry Ho
Jerry Ho
2 min readJan 10, 2019

--

The following combinations will introduce delay anywhere between 1000ms to 10000ms. My 10+ hours of research results.

  • ffmpeg after I frame tweaking
  • obs with tweaked settings
  • local rtm(f)p server with nginx+monaserver
  • loca rtm(f)p server with nginx+ SRS

And there’s no auth option for monaserver. EXPOSED baby.

It seems that WEBRTC will be the future rather than rtmp, but the time just hasn’t come yet I guess. Found no open source solution for it.

Rather than paid commercial software such as wowza, here’s the free solution that will work flawlessly and take only 6 minutes to set up.

Requirements:

  • AMD Relive — Radeon graphic cards only, updated to 2019 Adrenaline version
  • Mixer(formerly Beam) — A streaming service with FTL

That’s it. Plain simple.

Choose Mixer as your streaming service, it will then redirect you to the sign up page. Change it to 30 fps and whatever profile / resolution you like. It will work regardless of your machine spec cause:

  1. AMD relive optimizes capturing, encoding, and upload streaming, it takes almost 0 CPU loading.
  2. The Mixer server seems to work pretty well, I did not encounter any bandwith throttle whether it’s for the viewer or for the server.

60 fps is not reliable for my viewer clients (mobile native app, PCs, different browsers), the cause behind it is untested. Could be either of the element.

Also, by entering this screen, you can manually assign your CDN server.

If you need to have a private stream and api access for whatever reason, refer to here:

https://mixer.com/lab/teststreams

https://dev.mixer.com/

I forget to mention the latency.

It’s stable and < 300ms. Impressive.

--

--

Jerry Ho
Jerry Ho

A cryptographer, rigorous defender of civil liberties on blockchain. Trilingual in Mandarin, Japanese and English, I firmly believe in self-sovereign identity.