From d89e0182ad825d0926f4bc98e87d3b966056aac7 Mon Sep 17 00:00:00 2001 From: liusuyi <1951119284@qq.com> Date: 星期五, 12 七月 2024 22:00:28 +0800 Subject: [PATCH] 优化:流媒体 --- server/mediamtx/mediamtx.yml | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/server/mediamtx/mediamtx.yml b/server/mediamtx/mediamtx.yml index 0d0358e..9427049 100644 --- a/server/mediamtx/mediamtx.yml +++ b/server/mediamtx/mediamtx.yml @@ -222,20 +222,20 @@ 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: [192.168.1.227] # 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: +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.1.227:1234 +webrtcICETCPMuxAddress: ############################################### # Global settings -> SRT -- Gitblit v1.9.3