Share via


CallAutomationModelFactory.MediaStreamingStarted Method

Definition

Initializes a new instance of MediaStreamingStarted.

public static Azure.Communication.CallAutomation.MediaStreamingStarted MediaStreamingStarted (string callConnectionId = default, string serverCallId = default, string correlationId = default, string operationContext = default, Azure.Communication.CallAutomation.ResultInformation resultInformation = default, Azure.Communication.CallAutomation.MediaStreamingUpdate mediaStreamingUpdate = default);
static member MediaStreamingStarted : string * string * string * string * Azure.Communication.CallAutomation.ResultInformation * Azure.Communication.CallAutomation.MediaStreamingUpdate -> Azure.Communication.CallAutomation.MediaStreamingStarted
Public Shared Function MediaStreamingStarted (Optional callConnectionId As String = Nothing, Optional serverCallId As String = Nothing, Optional correlationId As String = Nothing, Optional operationContext As String = Nothing, Optional resultInformation As ResultInformation = Nothing, Optional mediaStreamingUpdate As MediaStreamingUpdate = Nothing) As MediaStreamingStarted

Parameters

callConnectionId
String

Call connection ID.

serverCallId
String

Server call ID.

correlationId
String

Correlation ID for event to call correlation. Also called ChainId for skype chain ID.

operationContext
String

Used by customers when calling answerCall action to correlate the request to the response event.

resultInformation
ResultInformation

Contains the resulting SIP code/sub-code and message from NGC services.

mediaStreamingUpdate
MediaStreamingUpdate

Defines the result for MediaStreamingUpdate with the current status and the details about the status.

Returns

A new MediaStreamingStarted instance for mocking.

Applies to