gatheringState

The gatheringState read-only property of the RTCIceTransport interface returns a string that indicates the current gathering state of the ICE agent for this transport: 'new', 'gathering', or 'complete'.

MDN Reference