up
This commit is contained in:
parent
02c33d0885
commit
4e94d88651
1 changed files with 1 additions and 0 deletions
|
|
@ -48,6 +48,7 @@ export default class webRTC {
|
|||
const iceCandidate: IceCandidate = JSON.parse(candidate)
|
||||
console.log({ iceCandidate })
|
||||
if (!iceCandidate.candidate) {
|
||||
//@ts-ignore
|
||||
await conn.addIceCandidate(null);
|
||||
} else {
|
||||
await conn.addIceCandidate(iceCandidate);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue