Files
rtcbin/config/config.yaml
2025-11-06 16:42:21 +08:00

48 lines
2.2 KiB
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

port: 7880 #不用修改,默认即可
redis:
address: 127.0.0.1:16379 #和IM保持一致
db: 1 #不用修改,默认即可
password: openIM123 #和IM保持一致
rtc:
# udp_port: 7882 #不用修改默认即可开放此外网udp端口
port_range_start: 50000
port_range_end: 60000
tcp_port: 7881 #不用修改默认即可开放此外网tcp端口
use_external_ip: true #不用修改,默认即可
node_ip: 127.0.0.1 #需要修改为部署机器的外网IP
keys:
APIGPW3gnFTzqHH: 23ztfSqsfQ8hKkHzHTl3Z4bvaxro0snjk5jwbp5p6Q3 #测试环境不修改生产环境修改生成方式scripts目录下执行./gen_key.sh
room:
auto_create: false
enable_remote_unmute: true #会议系统,不用修改,默认即可
empty_timeout: 72000 #如果视频会议的房间中人数为0超过这个时间就自动关闭房间不用修改默认即可
rpc:
zookeeper:
schema: openim #默认即可
zkAddr: [ 127.0.0.1:2181 ] #单机部署时,默认即可
userName:
password:
port: 11300 #不用修改 默认即可
live_url: ws://127.0.0.1:7880 #用户能通过此ip:7880访问 或者配置nginx 类似wss://web.rentsoft.cn/open_rtc
live_url_inner: ws://127.0.0.1:7880
address: 0.0.0.0 #不用修改 默认即可
external_ip: 127.0.0.1 #IM服务器能通过此ip:11300访问到的此服务器不一定是外网ip如果为空则获取本机ip
register_name:
openImRtcName: Rtc
openImMsgName: Msg #不用修改,默认即可
storage_location: ../logs
file:
enable_file_save: false #是否保持音视频文件 如果为true则要配置s3同时需要配置recorder.yaml
s3:
access_key: root #和IM保持一致
secret: openIM123 #和IM保持一致
region: us-east-1 #和IM保持一致
endpoint: http://127.0.0.1:10005 #和IM保持一致
bucket: video #需先手动创建
layout: single-speaker