This commit is contained in:
parent
54fded65d0
commit
2efd0a6465
|
|
@ -352,24 +352,24 @@ services:
|
|||
- ZLM_SERCERT=fgVdaI75GcSBPeSBvg8NL7aRrlkCtGPv
|
||||
# ========== 流媒体地址配置 ==========
|
||||
# Stream_IP: 生成播放地址时使用的IP(宿主机外网IP或域名)
|
||||
# 用途:WVP生成的播放地址格式为 http://220.154.136.137:9090/live/123.live.flv
|
||||
# 用途:WVP生成的播放地址格式为 http://45.120.103.238:9090/live/123.live.flv
|
||||
# 对应application.yml中的media.stream-ip配置
|
||||
- Stream_IP=220.154.136.137
|
||||
- Stream_IP=45.120.103.238
|
||||
# SDP_IP: WVP在国标信令中使用的IP
|
||||
# 用途:GB28181设备通过此IP与WVP进行媒体流传输
|
||||
# 对应application.yml中的media.sdp-ip配置
|
||||
- SDP_IP=220.154.136.137
|
||||
- SDP_IP=45.120.103.238
|
||||
# ========== 流媒体端口配置(宿主机外部端口) ==========
|
||||
# 以下端口用于生成客户端播放地址,必须与zlmediakit容器的端口映射一致
|
||||
#
|
||||
# MediaHttp: HTTP播放端口(对应zlmediakit的9090:80映射)
|
||||
# 用途:生成HTTP-FLV/HLS/TS/RTC播放地址
|
||||
# 示例:http://220.154.136.137:9090/live/123.live.flv
|
||||
# 示例:http://45.120.103.238:9090/live/123.live.flv
|
||||
# 对应application.yml中的media.flv-port和media.ws-flv-port配置
|
||||
- MediaHttp=9090
|
||||
# MediaHttps: HTTPS播放端口(对应zlmediakit的8443:443映射)
|
||||
# 用途:生成HTTPS-FLV/HLS/TS播放地址
|
||||
# 示例:https://220.154.136.137:8443/live/123.live.flv
|
||||
# 示例:https://45.120.103.238:8443/live/123.live.flv
|
||||
# 对应application.yml中的media.flv-ssl-port和media.ws-flv-ssl-port配置
|
||||
- MediaHttps=8443
|
||||
# MediaRtp: RTP代理端口(对应zlmediakit的10000:10000映射)
|
||||
|
|
@ -379,13 +379,13 @@ services:
|
|||
- MediaRtp=10000
|
||||
# MediaRtmp: RTMP推流端口(对应zlmediakit的1935:1935映射)
|
||||
# 用途:OBS等推流工具推流地址
|
||||
# 示例:rtmp://220.154.136.137:1935/live/123
|
||||
# 示例:rtmp://45.120.103.238:1935/live/123
|
||||
# 对应application.yml中的media.rtmp-port配置
|
||||
# 对应zlmediakit config.ini中的rtmp.port=1935
|
||||
- MediaRtmp=1935
|
||||
# MediaRtsp: RTSP推流/拉流端口(对应zlmediakit的8554:554映射)
|
||||
# 用途:RTSP协议的推流和拉流
|
||||
# 示例:rtsp://220.154.136.137:8554/live/123
|
||||
# 示例:rtsp://45.120.103.238:8554/live/123
|
||||
# 对应application.yml中的media.rtsp-port配置
|
||||
# 对应zlmediakit config.ini中的rtsp.port=554
|
||||
- MediaRtsp=8554
|
||||
|
|
@ -445,20 +445,20 @@ services:
|
|||
- TZ=Asia/Shanghai
|
||||
ports:
|
||||
# RTMP推流端口(容器内部1935映射到宿主机1935)
|
||||
# OBS推流地址:rtmp://220.154.136.137:1935/live/streamId
|
||||
# OBS推流地址:rtmp://45.120.103.238:1935/live/streamId
|
||||
# 对应config.ini中的rtmp.port=1935
|
||||
- "1935:1935"
|
||||
# HTTP端口(容器内部80映射到宿主机9090)
|
||||
# 用途1:WVP通过http://zlmediakit:80访问ZLM API
|
||||
# 用途2:客户端通过http://220.154.136.137:9090播放HTTP-FLV/HLS/TS
|
||||
# 用途2:客户端通过http://45.120.103.238:9090播放HTTP-FLV/HLS/TS
|
||||
# 对应config.ini中的http.port=80
|
||||
- "9090:80"
|
||||
# HTTPS端口(容器内部443映射到宿主机8443)
|
||||
# 客户端通过https://220.154.136.137:8443播放
|
||||
# 客户端通过https://45.120.103.238:8443播放
|
||||
# 对应config.ini中的http.sslport=443
|
||||
- "8443:443"
|
||||
# RTSP端口(容器内部554映射到宿主机8554)
|
||||
# RTSP地址:rtsp://220.154.136.137:8554/live/streamId
|
||||
# RTSP地址:rtsp://45.120.103.238:8554/live/streamId
|
||||
# 对应config.ini中的rtsp.port=554
|
||||
- "8554:554"
|
||||
# RTP代理端口TCP(容器内部10000映射到宿主机10000)
|
||||
|
|
|
|||
|
|
@ -104,7 +104,7 @@
|
|||
|
||||
<div>
|
||||
<label for="wsUrl">WebSocket 地址:</label>
|
||||
<input type="text" id="wsUrl" value="ws://220.154.136.137:9988/prod-api/websocket/statistics">
|
||||
<input type="text" id="wsUrl" value="ws://45.120.103.238:9988/prod-api/websocket/statistics">
|
||||
</div>
|
||||
|
||||
<div id="status" class="status disconnected">状态: 未连接</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue