example: 添加音视频例子

This commit is contained in:
CDCDDCDC
2025-05-06 15:53:40 +08:00
parent 05b0df57a1
commit 903a0640f9
12 changed files with 959 additions and 6 deletions
+3 -3
View File
@@ -5,11 +5,11 @@ jt1078:
intercom:
enable: true # 是否启用 用于双向对讲
webrtc:
jt1078webrtc:
port: 10020 # 对讲默认udp端口
ip: 124.221.30.46 # 外网ip 用于SDP协商修改
ports: [10000, 10010] # 音频端口 [min,max]
onaudiojoinurl: "http://127.0.0.1:10011/api/v1/join-audio" # 设备连接到音频端口的回调
audioPorts: [10000, 10010] # 音频端口 [min,max]
onjoinurl: "http://127.0.0.1:10011/api/v1/join-audio" # 设备连接到音频端口的回调
simulations:
# jt1078文件 默认循环发送