below are my steps:
- Initialise webRTC
- socket connected
- onRenegotiationNeeded
- addLocalMediaStrem
- peerConnectionCreateOffer
- didCreateSessionDescription
- setLocalDescriptionWith SDP
- send SDP to socket
- RTCICEGatheringGathering
- get local ICECandidates
- received message from socket
- RTCSignalingStable
- RTCICEConnectionChecking
- peerConnection?.setRemoteDescriptionWith SDP
- received message from socket
- RTCICEGatheringComplete
- RTCSignalingHaveRemoteOffer
- received remote media stream
but still not getting RTCICEConnectionConnected state. why is it so? what is missing?