From 38f29e38fcc668171dc05c53d40a36b895c86102 Mon Sep 17 00:00:00 2001 From: liusuyi <1951119284@qq.com> Date: 星期四, 10 十月 2024 13:34:28 +0800 Subject: [PATCH] init --- server/mediamtx/mediamtx.yml | 22 +++++++++++----------- 1 files changed, 11 insertions(+), 11 deletions(-) diff --git a/server/mediamtx/mediamtx.yml b/server/mediamtx/mediamtx.yml index e9a8e83..55e4b6c 100644 --- a/server/mediamtx/mediamtx.yml +++ b/server/mediamtx/mediamtx.yml @@ -44,17 +44,17 @@ # Enable the HTTP API. api: yes # Address of the API listener. -apiAddress: 192.168.5.229:9997 +apiAddress: 192.168.1.27:9997 # Enable Prometheus-compatible metrics. metrics: no # Address of the metrics listener. -metricsAddress: 127.0.0.1:9998 +metricsAddress: 192.168.1.27:9998 # Enable pprof-compatible endpoint to monitor performances. pprof: no # Address of the pprof listener. -pprofAddress: 127.0.0.1:9999 +pprofAddress: 192.168.1.27:9999 # Command to run when a client connects to the server. # This is terminated with SIGINT when a client disconnects from the server. @@ -215,33 +215,33 @@ # 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:stun.l.google.com:19302 # if user is "AUTH_SECRET", then authentication is secret based. # the secret must be inserted into the password field. - username: 'admin' - password: '123456' + username: '' + password: '' # List of interfaces that will be used to gather IPs to send # to the counterpart to establish a connection. -webrtcICEInterfaces: [] +webrtcICEInterfaces: [192.168.1.1] # 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: [192.168.1.27] # 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. -webrtcICEUDPMuxAddress: 192.168.5.229:1234 +webrtcICEUDPMuxAddress: :8189 # Address of a ICE TCP listener in format host:port. # If filled, ICE traffic will pass through a single TCP port, # 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: 192.168.5.229:1234 +webrtcICETCPMuxAddress: ############################################### # Global settings -> SRT # Allow publishing and reading streams with the SRT protocol. -srt: no +srt: yes # Address of the SRT listener. srtAddress: :8890 -- Gitblit v1.9.3