Skip to content

Commit fb8c4e0

Browse files
committed
fix: paths, ports et for mediamtx
1 parent 45b6a75 commit fb8c4e0

File tree

5 files changed

+28
-20
lines changed

5 files changed

+28
-20
lines changed

docker-compose-local.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -690,12 +690,16 @@ services:
690690
MTX_RTSPTRANSPORTS: "tcp" # Can't do UDP without host mode network
691691
MTX_WEBRTCADDITIONALHOSTS: *serverdomain
692692
ports:
693-
- "8554:8554"
694-
- "1935:1935"
695-
- "9888:9888"
696-
- "9889:9889"
693+
- "1936:1936"
694+
- "8322:8322"
695+
- "8890:8890"
697696
- "9000:9000"
698697
- "9001:9001"
698+
- "9888:9888"
699+
- "9889:9889"
700+
- "9996:9996"
701+
- "9998:9998"
702+
- "9999:9999"
699703
- "8890:8890/udp"
700704
- "8189:8189/udp"
701705
depends_on:

docker-compose.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -618,12 +618,16 @@ services:
618618
MTX_RTSPTRANSPORTS: "tcp" # Can't do UDP without host mode network
619619
MTX_WEBRTCADDITIONALHOSTS: *serverdomain
620620
ports:
621-
- "8554:8554"
622-
- "1935:1935"
623-
- "9888:9888"
624-
- "9889:9889"
621+
- "1936:1936"
622+
- "8322:8322"
623+
- "8890:8890"
625624
- "9000:9000"
626625
- "9001:9001"
626+
- "9888:9888"
627+
- "9889:9889"
628+
- "9996:9996"
629+
- "9998:9998"
630+
- "9999:9999"
627631
- "8890:8890/udp"
628632
- "8189:8189/udp"
629633
depends_on:

mediamtx.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ api: yes
5656
apiAddress: :9997
5757
# Enable TLS/HTTPS on the Control API server.
5858
apiEncryption: yes
59-
apiServerKey: /le_certs/rasenmaeher/fullchain.key
59+
apiServerKey: /le_certs/rasenmaeher/privkey.pem
6060
apiServerCert: /le_certs/rasenmaeher/fullchain.pem
6161
# Value of the Access-Control-Allow-Origin header provided in every HTTP response.
6262
apiAllowOrigin: '*'
@@ -74,7 +74,7 @@ metrics: yes
7474
metricsAddress: :9998
7575
# Enable TLS/HTTPS on the Metrics server.
7676
metricsEncryption: yes
77-
metricsServerKey: /le_certs/rasenmaeher/fullchain.key
77+
metricsServerKey: /le_certs/rasenmaeher/privkey.pem
7878
metricsServerCert: /le_certs/rasenmaeher/fullchain.pem
7979
# Value of the Access-Control-Allow-Origin header provided in every HTTP response.
8080
metricsAllowOrigin: '*'
@@ -92,7 +92,7 @@ pprof: yes
9292
pprofAddress: :9999
9393
# Enable TLS/HTTPS on the pprof server.
9494
pprofEncryption: yes
95-
pprofServerKey: /le_certs/rasenmaeher/fullchain.key
95+
pprofServerKey: /le_certs/rasenmaeher/privkey.pem
9696
pprofServerCert: /le_certs/rasenmaeher/fullchain.pem
9797
# Value of the Access-Control-Allow-Origin header provided in every HTTP response.
9898
pprofAllowOrigin: '*'
@@ -110,7 +110,7 @@ playback: yes
110110
playbackAddress: :9996
111111
# Enable TLS/HTTPS on the playback server.
112112
playbackEncryption: yes
113-
playbackServerKey: /le_certs/rasenmaeher/fullchain.key
113+
playbackServerKey: /le_certs/rasenmaeher/privkey.pem
114114
playbackServerCert: /le_certs/rasenmaeher/fullchain.pem
115115
# Value of the Access-Control-Allow-Origin header provided in every HTTP response.
116116
playbackAllowOrigin: '*'
@@ -148,11 +148,11 @@ multicastIPRange: 224.1.0.0/16
148148
multicastRTPPort: 8002
149149
# Port of all UDP-multicast/RTCP listeners. This is needed only when "multicast" is in rtspTransports.
150150
multicastRTCPPort: 8003
151-
rtspServerKey: /le_certs/rasenmaeher/fullchain.key
151+
rtspServerKey: /le_certs/rasenmaeher/privkey.pem
152152
rtspServerCert: /le_certs/rasenmaeher/fullchain.pem
153153
# Authentication methods. Available are "basic" and "digest".
154154
# "digest" doesn't provide any additional security and is available for compatibility only.
155-
rtspAuthMethods: [basic, digest]
155+
rtspAuthMethods: [basic]
156156

157157
###############################################
158158
# Global settings -> RTMP server
@@ -166,7 +166,7 @@ rtmpAddress: :1935
166166
rtmpEncryption: "strict"
167167
# Address of the RTMPS listener. This is needed only when encryption is "strict" or "optional".
168168
rtmpsAddress: :1936
169-
rtmpServerKey: /le_certs/rasenmaeher/fullchain.key
169+
rtmpServerKey: /le_certs/rasenmaeher/privkey.pem
170170
rtmpServerCert: /le_certs/rasenmaeher/fullchain.pem
171171

172172
###############################################
@@ -179,7 +179,7 @@ hlsAddress: :9888
179179
# Enable TLS/HTTPS on the HLS server.
180180
# This is required for Low-Latency HLS.
181181
hlsEncryption: yes
182-
hlsServerKey: /le_certs/rasenmaeher/fullchain.key
182+
hlsServerKey: /le_certs/rasenmaeher/privkey.pem
183183
hlsServerCert: /le_certs/rasenmaeher/fullchain.pem
184184
# Value of the Access-Control-Allow-Origin header provided in every HTTP response.
185185
# This allows to play the HLS stream from an external website.
@@ -232,7 +232,7 @@ webrtc: yes
232232
webrtcAddress: :9889
233233
# Enable TLS/HTTPS on the WebRTC server.
234234
webrtcEncryption: yes
235-
webrtcServerKey: /le_certs/rasenmaeher/fullchain.key
235+
webrtcServerKey: /le_certs/rasenmaeher/privkey.pem
236236
webrtcServerCert: /le_certs/rasenmaeher/fullchain.pem
237237
# Value of the Access-Control-Allow-Origin header provided in every HTTP response.
238238
# This allows to play the WebRTC stream from an external website.
@@ -318,7 +318,7 @@ pathDefaults:
318318
sourceFingerprint:
319319
# If the source is a URL, it will be pulled only when at least
320320
# one reader is connected, saving bandwidth.
321-
sourceOnDemand: yes
321+
sourceOnDemand: no
322322
# If sourceOnDemand is "yes", readers will be put on hold until the source is
323323
# ready or until this amount of time has passed.
324324
sourceOnDemandStartTimeout: 10s

0 commit comments

Comments
 (0)