EventGridModelFactory.MediaLiveEventTrackDiscontinuityDetectedEventData 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.
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.
- 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.