diff --git a/lib/src/components/VideoCall.tsx b/lib/src/components/VideoCall.tsx index cf6aeb2..c0931f5 100644 --- a/lib/src/components/VideoCall.tsx +++ b/lib/src/components/VideoCall.tsx @@ -229,6 +229,8 @@ const VideoCall = ({ URL, mediaOptions }: { URL: string, mediaOptions: { control }); peer.addEventListener('icegatheringstatechange', () => { + // const stateOfIceGathering = peer.iceGatheringState; // returns a string that describes the connection's ICE gathering state (new, gathering, or complete) + // console.log(`ICE gathering state: ${stateOfIceGathering}`); console.log(`ICE gathering state changed: ${peerRef.current?.iceGatheringState}`); });