RenegotiateDescription Method (IEnumerable(SignalingHeader))

Synchronously renegotiates the media description.

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
A SipMessageData object containing the SIP message data associated with the operation.

Exceptions

Exception Condition
Exception

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

RealTimeException

Thrown when there is no media description available.

InvalidOperationException

Thrown when the session is not in a valid state to renegotiate.

Remarks

This method waits until the media description is renegotiated. It is not recommended for a UI thread.

See Also

Reference

SignalingSession Class

SignalingSession Members

RenegotiateDescription Overload

Microsoft.Rtc.Signaling Namespace