HandleOfferInReInvite Method
The method that is called when media renegotiation (REINVITE) is received.
Namespace: Microsoft.Rtc.Signaling
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Sub HandleOfferInReInvite ( _
sender As Object, _
e As OfferInReInviteEventArgs _
)
'Usage
Dim instance As IOfferAnswer
Dim sender As Object
Dim e As OfferInReInviteEventArgs
instance.HandleOfferInReInvite(sender, _
e)
void HandleOfferInReInvite(
Object sender,
OfferInReInviteEventArgs e
)
Parameters
- sender
Type: System..::..Object
The object instance that is making this call.
- e
Type: Microsoft.Rtc.Signaling..::..OfferInReInviteEventArgs
The event argument containing information about the offer. The offer can be null.
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 all [Accept] method in the event argument to let the platform call the [GetOffer] or [GetAnswer] method to fetch offer or answer whichever is appropriate. If the application does not like the offer, it can also decline.