This commit is contained in:
2023-10-01 13:09:48 +08:00
parent 5ca1ed5f8d
commit e53d325150
1 changed files with 3 additions and 2 deletions

View File

@ -18,9 +18,10 @@ export default class ClientList {
const webrtc_init = () => { const webrtc_init = () => {
const webrtc = new RTCPeerConnection({ const webrtc = new RTCPeerConnection({
iceServers: [{ iceServers: [{
urls: 'turn:satori.love:3478', urls: 'turns:satori.love:3478',
username: 'your-username', username: 'your-username',
credential: 'your-password' credential: 'your-password',
credentialType: 'password'
}] }]
}) })
webrtc.onicecandidate = event => { webrtc.onicecandidate = event => {