共用方式為


EventGridModelFactory.MediaLiveEventTrackDiscontinuityDetectedEventData Method

Definition

Initializes a new instance of MediaLiveEventTrackDiscontinuityDetectedEventData.

public static Azure.Messaging.EventGrid.SystemEvents.MediaLiveEventTrackDiscontinuityDetectedEventData MediaLiveEventTrackDiscontinuityDetectedEventData (string trackType = default, string trackName = default, long? bitrate = default, string previousTimestamp = default, string newTimestamp = default, string timescale = default, string discontinuityGap = default);
static member MediaLiveEventTrackDiscontinuityDetectedEventData : string * string * Nullable<int64> * string * string * string * string -> Azure.Messaging.EventGrid.SystemEvents.MediaLiveEventTrackDiscontinuityDetectedEventData
Public Shared Function MediaLiveEventTrackDiscontinuityDetectedEventData (Optional trackType As String = Nothing, Optional trackName As String = Nothing, Optional bitrate As Nullable(Of Long) = Nothing, Optional previousTimestamp As String = Nothing, Optional newTimestamp As String = Nothing, Optional timescale As String = Nothing, Optional discontinuityGap As String = Nothing) As MediaLiveEventTrackDiscontinuityDetectedEventData

Parameters

trackType
String

Gets the type of the track (Audio / Video).

trackName
String

Gets the track name.

bitrate
Nullable<Int64>

Gets the bitrate.

previousTimestamp
String

Gets the timestamp of the previous fragment.

newTimestamp
String

Gets the timestamp of the current fragment.

timescale
String

Gets the timescale in which both timestamps and discontinuity gap are represented.

discontinuityGap
String

Gets the discontinuity gap between PreviousTimestamp and NewTimestamp.

Returns

A new MediaLiveEventTrackDiscontinuityDetectedEventData instance for mocking.

Applies to