DEBUG TURN

This commit is contained in:
2023-10-01 20:16:38 +08:00
parent 79eeab2f32
commit 88ee6762cc
1 changed files with 2 additions and 2 deletions

View File

@ -19,8 +19,8 @@ export default class ClientList {
const webrtc = new RTCPeerConnection({ const webrtc = new RTCPeerConnection({
iceServers: [{ iceServers: [{
urls: 'turn:satori.love:3478', urls: 'turn:satori.love:3478',
username: '', // your-username username: 'your-username',
credential: '', // await crypto.subtle.digest('SHA-1', new TextEncoder().encode('your-password')), credential: 'your-password', //await crypto.subtle.digest('SHA-1', new TextEncoder().encode('your-password')),
//credentialType: 'password' //credentialType: 'password'
}] }]
}) })