Last active
July 14, 2025 02:59
-
-
Save yringler/ffffe52208dc5f1850ac24cd264dda30 to your computer and use it in GitHub Desktop.
rtsp server docker
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Then the public URL becomes https://test.com/live | |
test.com { | |
reverse_proxy localhost:8888 | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
services: | |
rtsp: | |
image: bluenviron/mediamtx:1.13.0 | |
network_mode: host | |
volumes: | |
- mediamtx.yml:/mediamtx.yml |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
authInternalUsers: | |
# Username. 'any' means any user, including anonymous ones. | |
- user: obs | |
# Password. Not used in case of 'any' user. | |
# Use a secure password - then obs studio can stream to here | |
# sample URL to give obs - rtmp://localhost/live?user=obs&pass=securepassword | |
pass: securepasswordhere | |
# IPs or networks allowed to use this user. An empty list means any IP. | |
ips: [] | |
# List of permissions. | |
permissions: | |
# Available actions are: publish, read, playback, api, metrics, pprof. | |
- action: publish | |
- action: read | |
- action: playback | |
# Unstead of an any, you could make a user with a secure password. That way at least people can only access if they have the link | |
# Not just if they got the domain from DNS | |
- user: any | |
permissions: | |
- action: read | |
- action: playback | |
paths: | |
live: | |
source: publisher | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment