Yellow-Dog-Man / Resonite-Issues

Issue repository for Resonite.
https://resonite.com
138 stars 2 forks source link

Support SRT Streaming #3102

Open Ryn-Fox opened 1 day ago

Ryn-Fox commented 1 day ago

Is your feature request related to a problem? Please describe.

RTMP is currently the main avenue for streaming desktop and video content to other users in Resonite, and it suffers from very high latency and difficulty in setup (usually requiring a middleman server).

Describe the solution you'd like

SRT is a newer streaming protocol that fills a similar niche to RTMP but with many great benefits above and beyond it, most notably its incredibly low latency and good stability. It's open source, high quality, easy to set up (it's built right into OBS), and handles firewalls easily.

Here is the creator's website explaining the protocol: https://www.haivision.com/blog/all/srt-everything-you-need-to-know-about-the-secure-reliable-transport-protocol/

I think it is a great fit for Resonite because of its open source nature and it opens an incredible amount of doors for creators streaming content to each other and easily bringing in live video content.

Describe alternatives you've considered

I'm not familiar with other Resonite-supported options that meet the same needs.

Additional Context

Link to the SRT Github page with sample apps and deployment guides: https://github.com/Haivision/srt

Requesters

Resonite: Ryn Fluff Discord: RynFluff

Ryn-Fox commented 1 day ago

Theoretically support for it may already be included in libvlc.

When I put in an SRT URL into a VideoTextureProvider it immediately clears itself. For example: srt://127.0.0.1:port?mode=caller.

Also I found which versions of VLC support SRT. I'm not sure what Resonite is using. Image

Frooxius commented 23 hours ago

Does any 3.x version of libVLC support this protocol?

If that's the case, we just need to add it to list of recognized protocols and it should work.