MediaProvider.SetIncomingCallOffer Method
Sets the initial offer on the MediaProvider.
Namespace: Microsoft.Rtc.Collaboration.ComponentModel
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Protected Overridable Sub SetIncomingCallOffer ( _
offerAnswerContext As OfferAnswerContext, _
offer As SdpOffer _
)
'Usage
Dim offerAnswerContext As OfferAnswerContext
Dim offer As SdpOffer
Me.SetIncomingCallOffer(offerAnswerContext, _
offer)
protected virtual void SetIncomingCallOffer(
OfferAnswerContext offerAnswerContext,
SdpOffer offer
)
Parameters
- offerAnswerContext
Type: Microsoft.Rtc.Collaboration.ComponentModel.OfferAnswerContext
The OfferAnswerContext.
- offer
Type: Microsoft.Rtc.Collaboration.SdpOffer
The initial offer.
Remarks
The Call invokes this method when a media provider is bound to the incoming call. The existing behavior for accepting the call is not changed; it will continue to send the same offer.