AudioVideoCall.BeginEstablishEarlyMedia Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
BeginEstablishEarlyMedia(AsyncCallback, Object) |
Sends a provisional reliable response with a 183 response code SessionProgress; also creates an early dialog. |
BeginEstablishEarlyMedia(CallProvisionalResponseOptions, AsyncCallback, Object) |
Sends a provisional reliable response with a 183 response code SessionProgress; will also create an early dialog. |
BeginEstablishEarlyMedia(Int32, CallProvisionalResponseOptions, AsyncCallback, Object) |
Sends a provisional reliable response on the call; will also create an early dialog. |
BeginEstablishEarlyMedia(AsyncCallback, Object)
Sends a provisional reliable response with a 183 response code SessionProgress; also creates an early dialog.
public:
IAsyncResult ^ BeginEstablishEarlyMedia(AsyncCallback ^ userCallback, System::Object ^ state);
public IAsyncResult BeginEstablishEarlyMedia (AsyncCallback userCallback, object state);
member this.BeginEstablishEarlyMedia : AsyncCallback * obj -> IAsyncResult
Public Function BeginEstablishEarlyMedia (userCallback As AsyncCallback, state As Object) As IAsyncResult
Parameters
- 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 the call is not in the incoming state, the remote side does not support reliable provisional response or when early media is already being negotiated.
Applies to
BeginEstablishEarlyMedia(CallProvisionalResponseOptions, AsyncCallback, Object)
Sends a provisional reliable response with a 183 response code SessionProgress; will also create an early dialog.
public:
IAsyncResult ^ BeginEstablishEarlyMedia(Microsoft::Rtc::Collaboration::CallProvisionalResponseOptions ^ options, AsyncCallback ^ userCallback, System::Object ^ state);
public IAsyncResult BeginEstablishEarlyMedia (Microsoft.Rtc.Collaboration.CallProvisionalResponseOptions options, AsyncCallback userCallback, object state);
member this.BeginEstablishEarlyMedia : Microsoft.Rtc.Collaboration.CallProvisionalResponseOptions * AsyncCallback * obj -> IAsyncResult
Public Function BeginEstablishEarlyMedia (options As CallProvisionalResponseOptions, userCallback As AsyncCallback, state As Object) As IAsyncResult
Parameters
- options
- CallProvisionalResponseOptions
Optional parameters to be send on provisional response. Can be null.
- 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 the options
parameter is null.
Thrown when the options
parameter contains invalid signaling headers.
Thrown when the call is not in the incoming state, the remote side does not support reliable provisional response or when early media is already being negotiated.
Applies to
BeginEstablishEarlyMedia(Int32, CallProvisionalResponseOptions, AsyncCallback, Object)
Sends a provisional reliable response on the call; will also create an early dialog.
public:
IAsyncResult ^ BeginEstablishEarlyMedia(int responseCode, Microsoft::Rtc::Collaboration::CallProvisionalResponseOptions ^ options, AsyncCallback ^ userCallback, System::Object ^ state);
public IAsyncResult BeginEstablishEarlyMedia (int responseCode, Microsoft.Rtc.Collaboration.CallProvisionalResponseOptions options, AsyncCallback userCallback, object state);
member this.BeginEstablishEarlyMedia : int * Microsoft.Rtc.Collaboration.CallProvisionalResponseOptions * AsyncCallback * obj -> IAsyncResult
Public Function BeginEstablishEarlyMedia (responseCode As Integer, options As CallProvisionalResponseOptions, userCallback As AsyncCallback, state As Object) As IAsyncResult
Parameters
- responseCode
- Int32
Response code.
- options
- CallProvisionalResponseOptions
Optional parameters to be send on provisional response. Can be null.
- 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 the options
parameter contains null values.
Thrown when the options
parameter contains invalid signaling headers.
Thrown when the call is not in the incoming state, the remote side does not support reliable provisional response or when early media is already being negotiated.