| | 1 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | 2 | | // Licensed under the MIT License. |
| | 3 | |
|
| | 4 | | // <auto-generated/> |
| | 5 | |
|
| | 6 | | #nullable disable |
| | 7 | |
|
| | 8 | | namespace Azure.Messaging.EventGrid.SystemEvents |
| | 9 | | { |
| | 10 | | /// <summary> Ingest track discontinuity detected event data. </summary> |
| | 11 | | public partial class MediaLiveEventTrackDiscontinuityDetectedEventData |
| | 12 | | { |
| | 13 | | /// <summary> Initializes a new instance of MediaLiveEventTrackDiscontinuityDetectedEventData. </summary> |
| 0 | 14 | | internal MediaLiveEventTrackDiscontinuityDetectedEventData() |
| | 15 | | { |
| 0 | 16 | | } |
| | 17 | |
|
| | 18 | | /// <summary> Initializes a new instance of MediaLiveEventTrackDiscontinuityDetectedEventData. </summary> |
| | 19 | | /// <param name="trackType"> Gets the type of the track (Audio / Video). </param> |
| | 20 | | /// <param name="trackName"> Gets the track name. </param> |
| | 21 | | /// <param name="bitrate"> Gets the bitrate. </param> |
| | 22 | | /// <param name="previousTimestamp"> Gets the timestamp of the previous fragment. </param> |
| | 23 | | /// <param name="newTimestamp"> Gets the timestamp of the current fragment. </param> |
| | 24 | | /// <param name="timescale"> Gets the timescale in which both timestamps and discontinuity gap are represented. |
| | 25 | | /// <param name="discontinuityGap"> Gets the discontinuity gap between PreviousTimestamp and NewTimestamp. </par |
| 2 | 26 | | internal MediaLiveEventTrackDiscontinuityDetectedEventData(string trackType, string trackName, long? bitrate, st |
| | 27 | | { |
| 2 | 28 | | TrackType = trackType; |
| 2 | 29 | | TrackName = trackName; |
| 2 | 30 | | Bitrate = bitrate; |
| 2 | 31 | | PreviousTimestamp = previousTimestamp; |
| 2 | 32 | | NewTimestamp = newTimestamp; |
| 2 | 33 | | Timescale = timescale; |
| 2 | 34 | | DiscontinuityGap = discontinuityGap; |
| 2 | 35 | | } |
| | 36 | |
|
| | 37 | | /// <summary> Gets the type of the track (Audio / Video). </summary> |
| 2 | 38 | | public string TrackType { get; } |
| | 39 | | /// <summary> Gets the track name. </summary> |
| 2 | 40 | | public string TrackName { get; } |
| | 41 | | /// <summary> Gets the bitrate. </summary> |
| 2 | 42 | | public long? Bitrate { get; } |
| | 43 | | /// <summary> Gets the timestamp of the previous fragment. </summary> |
| 2 | 44 | | public string PreviousTimestamp { get; } |
| | 45 | | /// <summary> Gets the timestamp of the current fragment. </summary> |
| 2 | 46 | | public string NewTimestamp { get; } |
| | 47 | | /// <summary> Gets the timescale in which both timestamps and discontinuity gap are represented. </summary> |
| 2 | 48 | | public string Timescale { get; } |
| | 49 | | /// <summary> Gets the discontinuity gap between PreviousTimestamp and NewTimestamp. </summary> |
| 2 | 50 | | public string DiscontinuityGap { get; } |
| | 51 | | } |
| | 52 | | } |