| | 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> Encoder connect event data. </summary> |
| | 11 | | public partial class MediaLiveEventIncomingStreamReceivedEventData |
| | 12 | | { |
| | 13 | | /// <summary> Initializes a new instance of MediaLiveEventIncomingStreamReceivedEventData. </summary> |
| 0 | 14 | | internal MediaLiveEventIncomingStreamReceivedEventData() |
| | 15 | | { |
| 0 | 16 | | } |
| | 17 | |
|
| | 18 | | /// <summary> Initializes a new instance of MediaLiveEventIncomingStreamReceivedEventData. </summary> |
| | 19 | | /// <param name="ingestUrl"> Gets the ingest URL provided by the live event. </param> |
| | 20 | | /// <param name="trackType"> Gets the type of the track (Audio / Video). </param> |
| | 21 | | /// <param name="trackName"> Gets the track name. </param> |
| | 22 | | /// <param name="bitrate"> Gets the bitrate of the track. </param> |
| | 23 | | /// <param name="encoderIp"> Gets the remote IP. </param> |
| | 24 | | /// <param name="encoderPort"> Gets the remote port. </param> |
| | 25 | | /// <param name="timestamp"> Gets the first timestamp of the data chunk received. </param> |
| | 26 | | /// <param name="duration"> Gets the duration of the first data chunk. </param> |
| | 27 | | /// <param name="timescale"> Gets the timescale in which timestamp is represented. </param> |
| 2 | 28 | | internal MediaLiveEventIncomingStreamReceivedEventData(string ingestUrl, string trackType, string trackName, lon |
| | 29 | | { |
| 2 | 30 | | IngestUrl = ingestUrl; |
| 2 | 31 | | TrackType = trackType; |
| 2 | 32 | | TrackName = trackName; |
| 2 | 33 | | Bitrate = bitrate; |
| 2 | 34 | | EncoderIp = encoderIp; |
| 2 | 35 | | EncoderPort = encoderPort; |
| 2 | 36 | | Timestamp = timestamp; |
| 2 | 37 | | Duration = duration; |
| 2 | 38 | | Timescale = timescale; |
| 2 | 39 | | } |
| | 40 | |
|
| | 41 | | /// <summary> Gets the ingest URL provided by the live event. </summary> |
| 2 | 42 | | public string IngestUrl { get; } |
| | 43 | | /// <summary> Gets the type of the track (Audio / Video). </summary> |
| 2 | 44 | | public string TrackType { get; } |
| | 45 | | /// <summary> Gets the track name. </summary> |
| 2 | 46 | | public string TrackName { get; } |
| | 47 | | /// <summary> Gets the bitrate of the track. </summary> |
| 2 | 48 | | public long? Bitrate { get; } |
| | 49 | | /// <summary> Gets the remote IP. </summary> |
| 2 | 50 | | public string EncoderIp { get; } |
| | 51 | | /// <summary> Gets the remote port. </summary> |
| 2 | 52 | | public string EncoderPort { get; } |
| | 53 | | /// <summary> Gets the first timestamp of the data chunk received. </summary> |
| 2 | 54 | | public string Timestamp { get; } |
| | 55 | | /// <summary> Gets the duration of the first data chunk. </summary> |
| 2 | 56 | | public string Duration { get; } |
| | 57 | | /// <summary> Gets the timescale in which timestamp is represented. </summary> |
| 2 | 58 | | public string Timescale { get; } |
| | 59 | | } |
| | 60 | | } |