setRemoteDescription

suspend fun setRemoteDescription(sessionDescription: SessionDescription): Result<Unit>

Used to set up the SDP on underlying connections and to add pendingIceCandidates to the connection for listening.

Return

An empty Result, if the operation has been successful or not.

Parameters

sessionDescription

That contains the remote SDP.