-
QuestionBefore version 1.3.0 of mediaMTX, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Here are the configurations and logs from when I ran the executable file of MediaMTX version 1.6.0 on Windows. |
Beta Was this translation helpful? Give feedback.
-
Hello, the other change that was introduced in v1.3.0 was that WebRTC peer connections are now established by using a single, fixed port, that can be set through This port must be opened or forwarded to users in the same way that port in The advantage of this method lies in the fact that a STUN server is not necessary anymore and therefore no third-party service is contacted whenever you want to use WebRTC. If you liked the old method better, in which a STUN server and a random UDP port were used in order to establish connection, and no port forwarding was needed, you can re-enable it by following instructions in the README: # STUN servers allows to obtain and share the public IP of the server.
webrtcICEServers2:
- url: stun:stun.l.google.com:19302 random port and public IP address will appear in the SDP:
|
Beta Was this translation helpful? Give feedback.
Hello, the other change that was introduced in v1.3.0 was that WebRTC peer connections are now established by using a single, fixed port, that can be set through
webrtcLocalUDPAddress
orwebrtcLocalTCPAddress
and by default is8189
.This port must be opened or forwarded to users in the same way that port in
webrtcAddress
is (8889
), otherwise a connection cannot be established.The advantage of this method lies in the fact that a STUN server is not necessary anymore and therefore no third-party service is contacted whenever you want to use WebRTC.
If you liked the old method better, in which a STUN server and a random UDP port were used in order to establish connection, and no port forward…