This commit is contained in:
boufni95 2025-02-05 19:19:13 +00:00
parent 02c33d0885
commit 4e94d88651

View file

@ -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);