fix
This commit is contained in:
parent
4bc89254d2
commit
cebb8559c1
1 changed files with 1 additions and 3 deletions
|
|
@ -47,9 +47,7 @@ export default class webRTC {
|
|||
const conn = this.connections[key]
|
||||
const iceCandidate: IceCandidate = JSON.parse(candidate)
|
||||
console.log({ iceCandidate })
|
||||
if (!iceCandidate.candidate) {
|
||||
await conn.addIceCandidate(iceCandidate);
|
||||
} else {
|
||||
if (iceCandidate.candidate) {
|
||||
await conn.addIceCandidate(iceCandidate);
|
||||
}
|
||||
return {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue