Edit

Share via


MediaProvider.BeginSdpRenegotiation Method

Definition

Begins SDP renegotiation for a given callDialog.

protected:
 IAsyncResult ^ BeginSdpRenegotiation(Microsoft::Rtc::Collaboration::CallDialogContext ^ callDialog, AsyncCallback ^ userCallback, System::Object ^ state);
protected IAsyncResult BeginSdpRenegotiation (Microsoft.Rtc.Collaboration.CallDialogContext callDialog, AsyncCallback userCallback, object state);
member this.BeginSdpRenegotiation : Microsoft.Rtc.Collaboration.CallDialogContext * AsyncCallback * obj -> IAsyncResult
Protected Function BeginSdpRenegotiation (callDialog As CallDialogContext, userCallback As AsyncCallback, state As Object) As IAsyncResult

Parameters

callDialog
CallDialogContext

SignalingContext for the corresponding call dialog.

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.

Exceptions

Thrown when callDialog is null.

Thrown when callDialog contains a dialog, which can not be renegotiated, typical example is MediaProvider is trying to renegotiate an early dialog after dialog is confirmed.

Remarks

If any incoming SDP renegotiation is in progress when this method is being invoked, the requested SDP renegotiation will begin after the pending renegotiation is finished.

MediaProvider should expect that the BeginGetOffer method will be called after BeginSdpRenegotiation has started.

Applies to