Method SetRemoteDescription
SetRemoteDescription(ref RTCSessionDescription)
This method changes the session description of the remote connection to negotiate with local connections.
Declaration
public RTCSetSessionDescriptionAsyncOperation SetRemoteDescription(ref RTCSessionDescription desc)
Parameters
| Type | Name | Description |
|---|---|---|
| RTCSessionDescription | desc |
Returns
| Type | Description |
|---|---|
| RTCSetSessionDescriptionAsyncOperation | An AsyncOperation which resolves with an RTCSessionDescription object providing a description of the session. |
Exceptions
| Type | Condition |
|---|---|
| ArgumentException | Thrown when an argument has an invalid value. For example, when passed the sdp which is null or empty. |
| RTCErrorException | Thrown when an argument has an invalid value. For example, when passed the sdp which is not be able to parse. |