Share via


ISipSubscriptionProcessor.GetExtensionHeaders Method

The method that is called when media renegotiation (ReInvite) is received.

Namespace:  Microsoft.Rtc.Collaboration
Assembly:  Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)

Syntax

'Declaration
Private Sub GetExtensionHeaders ( _
    requestType As SipSubscription..::..RequestType, _
    <OutAttribute> ByRef extensionHeaders As IEnumerable(Of SignalingHeader) _
) Implements ISipSubscriptionProcessor.GetExtensionHeaders
'Usage
Dim instance As ConferenceSession
Dim requestType As SipSubscription..::..RequestType
Dim extensionHeaders As IEnumerable(Of SignalingHeader)

CType(instance, ISipSubscriptionProcessor).GetExtensionHeaders(requestType, _
    extensionHeaders)
void ISipSubscriptionProcessor.GetExtensionHeaders(
    SipSubscription..::..RequestType requestType,
    out IEnumerable<SignalingHeader> extensionHeaders
)

Parameters

Implements

ISipSubscriptionProcessor..::..GetExtensionHeaders(SipSubscription..::..RequestType, IEnumerable<(Of <<'(SignalingHeader>)>>)%)

Remarks

This happens when the remote sends another INVITE request inside an existing INVITE dialog to renegotiate media description.

The application can cache this event argument and start preparing the answer or offer (if the original offer was empty). When it is ready, it can call the "Accept" method in the event argument to let the platform call the GetOffer or GetAnswer method to fetch the offer or answer, whichever is appropriate. If the application does not like the offer, it can also decline.

See Also

Reference

ConferenceSession Class

ConferenceSession Members

Microsoft.Rtc.Collaboration Namespace