Partilhar via


SignalingSession.RenegotiateDescription Method (IEnumerable<SignalingHeader>)

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 ( _
    signalingHeaders As IEnumerable(Of SignalingHeader) _
) As SipResponseData
'Usage
Dim instance As SignalingSession
Dim signalingHeaders As IEnumerable(Of SignalingHeader)
Dim returnValue As SipResponseData

returnValue = instance.RenegotiateDescription(signalingHeaders)
public SipResponseData RenegotiateDescription(
    IEnumerable<SignalingHeader> signalingHeaders
)

Parameters

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.

RealTimeException

Thrown when there is no media description available.

Exception

Exceptions thrown by the application while generating media (interface IOfferAnswer) are not handled by the platform.

See Also

Reference

SignalingSession Class

SignalingSession Members

RenegotiateDescription Overload

Microsoft.Rtc.Signaling Namespace