类型:开发

描述:
This commit is contained in:
2026-01-28 18:54:50 +08:00
parent aa75cd9cb9
commit 3853793886
6 changed files with 8 additions and 8 deletions

View File

@@ -102,7 +102,7 @@ let isCollect = ref(0)
const player = new WebRTCWhep({
url:url, // WHEP 服务器地址
container: videoElement, // 视频播放容器
iceservers: [{ urls: 'turn:192.168.77.200:3478',username: 'ZLMediaKit',credential: 'ZLMediaKit'}]
iceServers: [{ urls: 'turn:192.168.77.200:3478',username: 'ZLMediaKit',credential: 'ZLMediaKit'}]
})
player.on('error', (error) => {
console.error('错误:', error.message, error.type)