setLocalDescription

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

Sets the local description for a connection either for the subscriber or publisher based on the flow.

Return

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

Parameters

sessionDescription

That contains the subscriber or publisher SDP.