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

Visual Basic (Declaration)
Public 
Function 
RenegotiateDescription 
As 

SipResponseData
C#
public 

SipResponseData 
RenegotiateDescription()
Visual C++
public:

SipResponseData^ 
RenegotiateDescription()
JavaScript
function 
renegotiateDescription();

Return Value

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 a non-null is expected for an argument. The argument name for which a non-null is expected is part of the exception message.
Microsoft.Rtc.Signaling . . :: . RealTimeException Thrown when the server or remote participant returns an error.
Microsoft.Rtc.Signaling . . :: . RealTimeException Encompasses SIP error or failure cases encountered while trying to enter the session - SIP Transport error, SIP Authentication, and credential-related errors.

See Also