SignalingSession.RenegotiateDescription Method
Synchronously renegotiates the media description. This method will wait until the media description is renegotiated. It is not recommended for a UI thread.
Namespace: Microsoft.Rtc.Signaling
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Public Function RenegotiateDescription As SipResponseData
'Usage
Dim instance As SignalingSession
Dim returnValue As SipResponseData
returnValue = instance.RenegotiateDescription()
public SipResponseData RenegotiateDescription()
Return Value
Type: Microsoft.Rtc.Signaling.SipResponseData
Returns the SIP response data associated with the operation.
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | Thrown when the session is not in a valid state to renegotiate. |
ArgumentException | Thrown when invalid arguments are passed. |
ArgumentNullException | Thrown when null is supplied for a required argument. The argument name which is required is is part of the exception message. |
RealTimeException | Thrown when the server or remote participant returns an error. |