Question: sdpmid and sdpmlineindex are both null?
Answer: The specified candidate's sdpMid and sdpMLineIndex are both null . The RTCPeerConnection currently has no remote peer established ( remoteDescription is null ). This can happen for a number of reasons: ... Attempting to add the candidate fails for any reason.