Skip to content

Conversation

@tomachinz
Copy link

I thought it would be useful for users to see a compact list of all the ports used, grouped with the format of the URLs. My first public pull request ever. MediaMTX is an amazing tool by the way!

| 1937 | RTMPS | rtmps://localhost:1937/mystream |
| 8189*| UDP WebRTC | open port 8189 UDP on firewall |
| 8322 | RTSPS / SSL | rtsps://localhost:8322/mystream |
| 8554 | RTMP / OBS | rtsp://localhost:8554/mystream |

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

8554 is usually RTSP

| 8322 | RTSPS / SSL | rtsps://localhost:8322/mystream |
| 8554 | RTMP / OBS | rtsp://localhost:8554/mystream |
| 8888 | WebRTC/HLS | http://localhost:8888/mystream |
| 8889 | WHIP | http://localhost:8889/mystream/whip |

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

8889 is WebRTC (WHIP is just the ingress protocol, 8889 supports whep as well, 8888 is HLS (not WebRTC)

|------|-------------|-----------------------------------|
| 1935 | RTMP | rtmp://localhost:1935/mystream |
| 1937 | RTMPS | rtmps://localhost:1937/mystream |
| 8189*| UDP WebRTC | open port 8189 UDP on firewall |

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should probably mention 8000/8001 (RTP/RTCP) for the RTSP UDP transport

| 9998 | Metrics API | 127.0.0.1:9998/metrics |
| 9999 | PerfProf | 127.0.0.1:9999/debug/pprof/heap |

- Most often ports are TCP, with the exception of UDP ports 8890 and 8189, which can be both

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should probably add TCP/UDP directly to the table - that's pretty useful information for configuring firewall rules.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants