DEBUG
This commit is contained in:
parent
b420d48aaf
commit
6ada6bcecb
|
@ -108,7 +108,7 @@ export default class ClientList {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if (data.type === 'candidate') {
|
if (data.type === 'candidate') {
|
||||||
console.log('收到 candidate 并将其添加到远程端')
|
console.log('收到 candidate 并将其添加到远程端', data, this.clientlist)
|
||||||
const pc = this.clientlist.find(client => client.id === data.id).webrtc
|
const pc = this.clientlist.find(client => client.id === data.id).webrtc
|
||||||
await pc.addIceCandidate(data.candidate)
|
await pc.addIceCandidate(data.candidate)
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue