This commit is contained in:
孙小云 2025-12-09 09:09:02 +08:00
parent b4e2b31836
commit 4c11c451aa
2 changed files with 5 additions and 2 deletions

View File

@ -68,7 +68,10 @@ services:
- "${MediaRtsp:-10002}:10002/udp" # [收流]RTSP
#- "45540:45540/tcp" # [收流]RTSPS 无效
- "${MediaRtp:-10003}:10003/tcp" # [收流]RTP 宿主机端口可配置:容器端口固定
- "${MediaRtp:-10003}:10003/udp" # [收流]RTP
- "${MediaRtp:-10003}:10003/udp" # [收流]RTP
#- "和media/config.ini 中 rtc.port rtc.tcpPort" 对应
- "8000:8000/tcp" # [播流]WebRTC TCP 宿主机端口可配置:容器端口固定
- "8000:8000/udp" # [播流]WebRTC UDP 宿主机端口可配置:容器端口固定
volumes:
- ./volumes/video:/opt/media/bin/www/record/
- ./logs/media:/opt/media/log/

View File

@ -128,7 +128,7 @@ sampleMS=500
[rtc]
bfilter=0
datachannel_echo=0
externIP=
externIP=114.67.89.4
maxRtpCacheMS=5000
maxRtpCacheSize=2048
max_bitrate=0