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
- signalingHeaders
Type: System.Collections.Generic.IEnumerable<SignalingHeader>
Headers required for this renegotiate. Can be null.
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. |