Edit

Share via


MediaProvider.BeginGetOffer Method

Definition

Begins the asynchronous operation to get the sdp offer from MediaProvider.

protected:
 abstract IAsyncResult ^ BeginGetOffer(Microsoft::Rtc::Collaboration::ComponentModel::OfferAnswerContext ^ offerAnswerContext, System::Collections::ObjectModel::Collection<Microsoft::Rtc::Collaboration::SdpContentDescription ^> ^ lastLocalOutgoingSdps, AsyncCallback ^ userCallback, System::Object ^ state);
protected abstract IAsyncResult BeginGetOffer (Microsoft.Rtc.Collaboration.ComponentModel.OfferAnswerContext offerAnswerContext, System.Collections.ObjectModel.Collection<Microsoft.Rtc.Collaboration.SdpContentDescription> lastLocalOutgoingSdps, AsyncCallback userCallback, object state);
abstract member BeginGetOffer : Microsoft.Rtc.Collaboration.ComponentModel.OfferAnswerContext * System.Collections.ObjectModel.Collection<Microsoft.Rtc.Collaboration.SdpContentDescription> * AsyncCallback * obj -> IAsyncResult

Parameters

offerAnswerContext
OfferAnswerContext

The OfferAnswerContext for the corresponding call.

lastLocalOutgoingSdps
Collection<SdpContentDescription>

Last outgoing local SDPs, which can be null if this method is invoked for an initial offer.

userCallback
AsyncCallback

The method to be called when the asynchronous operation is completed.

state
Object

A user-provided object that distinguishes this particular asynchronous operation from other asynchronous operations.

Returns

An IAsyncResult that references the asynchronous operation.

Remarks

The last local outgoing SDP can be either the last outgoing offer or answer. An outgoing offer can contain multiple SDP session descriptions.

Applies to