From 88ee6762cc1318478f7c021abb15e43d6ab458c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=A7=89?= Date: Sun, 1 Oct 2023 20:16:38 +0800 Subject: [PATCH] DEBUG TURN --- public/client.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/client.js b/public/client.js index 3dfd8d5..294c918 100644 --- a/public/client.js +++ b/public/client.js @@ -19,8 +19,8 @@ export default class ClientList { const webrtc = new RTCPeerConnection({ iceServers: [{ urls: 'turn:satori.love:3478', - username: '', // your-username - credential: '', // await crypto.subtle.digest('SHA-1', new TextEncoder().encode('your-password')), + username: 'your-username', + credential: 'your-password', //await crypto.subtle.digest('SHA-1', new TextEncoder().encode('your-password')), //credentialType: 'password' }] })