From 8a87e4226aa802d6a0e3566c66824fedf68e77da Mon Sep 17 00:00:00 2001 From: aijinhui <aijinhui> Date: 星期二, 24 十月 2023 16:30:48 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- server/mediamtx/mediamtx.yml | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/mediamtx/mediamtx.yml b/server/mediamtx/mediamtx.yml similarity index 98% rename from lib/mediamtx/mediamtx.yml rename to server/mediamtx/mediamtx.yml index 53da72c..1c79833 100644 --- a/lib/mediamtx/mediamtx.yml +++ b/server/mediamtx/mediamtx.yml @@ -44,17 +44,17 @@ # Enable the HTTP API. api: yes # Address of the API listener. -apiAddress: 112.98.126.2:9997 +apiAddress: 127.0.0.1:9997 # Enable Prometheus-compatible metrics. metrics: no # Address of the metrics listener. -metricsAddress: 112.98.126.2:9998 +metricsAddress: 127.0.0.1:9998 # Enable pprof-compatible endpoint to monitor performances. pprof: no # Address of the pprof listener. -pprofAddress: 112.98.126.2:9999 +pprofAddress: 127.0.0.1:9999 # Command to run when a client connects to the server. # This is terminated with SIGINT when a client disconnects from the server. @@ -215,7 +215,7 @@ # needed when server and clients are on different LANs. # TURN/TURNS servers are needed when a direct connection between server and # clients is not possible. All traffic is routed through them. -- url: stun:112.98.126.2:3478 +- url: stun:127.0.0.1:3478 # if user is "AUTH_SECRET", then authentication is secret based. # the secret must be inserted into the password field. username: 'admin' @@ -225,7 +225,7 @@ webrtcICEInterfaces: [] # List of public IP addresses that are to be used as a host. # This is used typically for servers that are behind 1:1 D-NAT. -webrtcICEHostNAT1To1IPs: [112.98.126.2] +webrtcICEHostNAT1To1IPs: [127.0.0.1] # Address of a ICE UDP listener in format host:port. # If filled, ICE traffic will pass through a single UDP port, # allowing the deployment of the server inside a container or behind a NAT. @@ -235,7 +235,7 @@ # allowing the deployment of the server inside a container or behind a NAT. # Using this setting forces usage of the TCP protocol, which is not # optimal for WebRTC. -webrtcICETCPMuxAddress: 112.98.126.2:1234 +webrtcICETCPMuxAddress: 127.0.0.1:1234 ############################################### # Global settings -> SRT -- Gitblit v1.9.3