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?
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?
<img width="1615" height="474" alt="Image" src="https://github.com/user-attachments/assets/5e644b40-b5c0-4cc8-99af-e7404752fe7a" />
@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!
<!-- gh-comment-id:3336059019 -->
@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):
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!
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:
Create a udp raw resource in the Pangolin dashboard (I name mine srt)
Link it to your media mtx server
Then your streaming url will be: srt://srt.yourdomain.com:8890?mode=caller&streamid=publish:mystream&latency=20000
Then, on your second client use this url for receiving the srt signal: srt://srt.yourdomain.com:8890?streamid=read:mystream&mode=caller&timeout=20000
Change/replace "yourdomain.com" with your actual domain ;)
<!-- gh-comment-id:3353479047 -->
@marcus-universe commented on GitHub (Sep 30, 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!
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:
1. Follow these instructions: [https://docs.digpangolin.com/manage/resources/tcp-udp-resources](https://docs.digpangolin.com/manage/resources/tcp-udp-resources)
2. Create a **udp raw resource** in the Pangolin dashboard (I name mine srt)
<img width="1402" height="548" alt="Image" src="https://github.com/user-attachments/assets/4b56609e-7797-494c-ac39-c751de00078d" />
3. Link it to your **media mtx server**
4. Then your **streaming url** will be: `srt://srt.yourdomain.com:8890?mode=caller&streamid=publish:mystream&latency=20000`
5. Then, on your second client use this url for receiving the srt signal: `srt://srt.yourdomain.com:8890?streamid=read:mystream&mode=caller&timeout=20000`
Change/replace "yourdomain.com" with your actual domain ;)
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
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 ;)