The lack of sdpParams in the RTCIceCandidate constructor was throwing a newly created TypeError as per the latest spec draft and .
Moreover, the usage of callbacks in createOffer was causing a race condition that sometimes led to sending a null offer that caused an error on the other peer.
The lack of sdpParams in the RTCIceCandidate constructor was throwing a newly created TypeError as per the latest spec draft and .
Moreover, the usage of callbacks in createOffer was causing a race condition that sometimes led to sending a null offer that caused an error on the other peer.