diff --git a/src/services/webRTC/index.ts b/src/services/webRTC/index.ts index 443ed5b9..c58faed3 100644 --- a/src/services/webRTC/index.ts +++ b/src/services/webRTC/index.ts @@ -48,7 +48,7 @@ export default class webRTC { const iceCandidate: IceCandidate = JSON.parse(candidate) console.log({ iceCandidate }) if (!iceCandidate.candidate) { - await conn.addIceCandidate(undefined); + await conn.addIceCandidate(null); } else { await conn.addIceCandidate(iceCandidate); }