webRtc android, SessionDescription alwais null,
I'm making a video call using WebRTC for Android, and the problem is that in this line of code:
val sdp = SessionDescription(SessionDescription.Type.OFFER, message.message)
I get the SDP, and in the logs:
Log.d("WebRtcActivityCandidate", "SessionDescription - ${sdp.description}")
Log.d("WebRtcActivityCandidate", "SessionDescription - ${sdp}")
I see that the SDP is not empty, but then when using the following code:
peerConnection?.setRemoteDescription(object : SdpObserver {
override fun...