mirror of
https://github.com/fosrl/pangolin.git
synced 2026-05-08 21:59:09 -05:00
[GH-ISSUE #1541] Other methods then http, https or h2c #1949
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @marcus-universe on GitHub (Sep 25, 2025).
Original GitHub issue: https://github.com/fosrl/pangolin/issues/1541
I want to redirect to my media mtx server to stream srt streams to it on the go. To do this, I need to make the URL an srt:// type. Like: srt://192.168.50.100:8890?streamid=publish:mystream&latency=2000
192.168.50.100 is the local address of my local docker server and the port 8890 is used by Media Mtx to receive and send srt video streams.
How do I can select as a method srt:// or rtmp, rtmps ... instead of HTTP?
@oschwartz10612 commented on GitHub (Sep 25, 2025):
Its my understanding that http/https/h2c are the only supported
protocols beyond raw TCP and UDP. I think for these you could create a
TCP or UDP resource though!
@marcus-universe commented on GitHub (Sep 30, 2025):
Thanks a lot 👍
I didn't know that raw TCP/UDP connections are possible. I got it to work with a raw udp stream.
For everyone who also tries to do this, here is my approach for a srt stream:
srt://srt.yourdomain.com:8890?mode=caller&streamid=publish:mystream&latency=20000srt://srt.yourdomain.com:8890?streamid=read:mystream&mode=caller&timeout=20000Change/replace "yourdomain.com" with your actual domain ;)