fix
This commit is contained in:
parent
e7aef1e3ab
commit
0553d9cd6a
1 changed files with 1 additions and 1 deletions
|
|
@ -41,7 +41,7 @@ export default class webRTC {
|
|||
const conn = this.connections[key]
|
||||
const iceCandidate: IceCandidate = JSON.parse(candidate)
|
||||
if (!iceCandidate.candidate) {
|
||||
await conn.addIceCandidate(null);
|
||||
await conn.addIceCandidate(undefined);
|
||||
} else {
|
||||
await conn.addIceCandidate(iceCandidate);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue