Sets the initial offer on the MediaProvider without requesting an answer.

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

Syntax

Visual Basic (Declaration)
Protected 
Overridable 
Sub 
SetIncomingCallOffer ( _
	
offerAnswerContext 
As 

OfferAnswerContext, _
	
offer 
As 
SdpOffer _
)
C#
protected 
virtual 
void 
SetIncomingCallOffer(
	

OfferAnswerContext 
offerAnswerContext,
	
SdpOffer 
offer
)
Visual C++
protected:
virtual 
void 
SetIncomingCallOffer(
	

OfferAnswerContext^ 
offerAnswerContext, 
	
SdpOffer^ 
offer
)
JavaScript
function 
setIncomingCallOffer(
offerAnswerContext, 
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.

See Also