This commit is contained in:
2023-10-01 20:36:21 +08:00
parent 88ee6762cc
commit a9720eeaee
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: 'x-username',
credential: 'your-password', //await crypto.subtle.digest('SHA-1', new TextEncoder().encode('your-password')), credential: 'x-password', //await crypto.subtle.digest('SHA-1', new TextEncoder().encode('your-password')),
//credentialType: 'password' //credentialType: 'password'
}] }]
}) })