You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: media_relay/README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,8 +10,8 @@ The container reads the following environment variables that must be configured
10
10
| --- | --- |
11
11
|`RELAY_PUBLISH_USER`| Username the SBC uses while pushing the RTSP stream |
12
12
|`RELAY_PUBLISH_PASS`| Password the SBC uses while pushing the RTSP stream |
13
-
|`RELAY_VIEWER_USER`|Optional username required by frontend clients (leave empty to disable auth) |
14
-
|`RELAY_VIEWER_PASS`|Optional password required by frontend clients (leave empty to disable auth) |
13
+
|`RELAY_VIEWER_USER`|Username required by frontend clients (set to `any`to allow anonymous access) |
14
+
|`RELAY_VIEWER_PASS`|Password required by frontend clients (leave blank when `RELAY_VIEWER_USER=any`) |
15
15
16
16
If you enable viewer authentication, update the frontend to use the same credentials when negotiating playback.
17
17
@@ -20,12 +20,12 @@ Ports exposed by the container:
20
20
-`8554/tcp`: RTSP ingest from the SBC
21
21
-`1935/tcp`: RTMP ingest (alternative to RTSP)
22
22
-`8888/tcp`: HTTP server (HLS playback and API)
23
-
-`8889/tcp` plus `UDP 8200-8299`: WebRTC signalling and media
23
+
-`8889/tcp` plus `8200/udp`: WebRTC signalling and media
24
24
-`9998/tcp`: Prometheus metrics (optional)
25
25
-`9999/tcp`: pprof endpoint (optional)
26
26
27
27
Ensure the Elastic Beanstalk load balancer and security groups forward the required ports. For WebRTC, terminate TLS at the load balancer and forward HTTPS traffic to port `8889`.
28
28
29
29
## Deployment bundle
30
30
31
-
The GitHub Actions workflow zips the contents of this folder and uploads the archive as an application version. The Dockerfile simply copies the Mediamtx configuration and launches the server binary.
31
+
The GitHub Actions workflow zips the contents of this folder and uploads the archive as an application version. The Dockerfile copies `mediamtx.yml` into the image and relies on the Mediamtx entrypoint to launch the server.
0 commit comments