-
Notifications
You must be signed in to change notification settings - Fork 4.5k
/
MediaLiveEventIncomingStreamReceivedEventData.cs
60 lines (55 loc) · 3.01 KB
/
MediaLiveEventIncomingStreamReceivedEventData.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
namespace Azure.Messaging.EventGrid.SystemEvents
{
/// <summary> Encoder connect event data. Schema of the data property of an EventGridEvent for a Microsoft.Media.LiveEventIncomingStreamReceived event. </summary>
public partial class MediaLiveEventIncomingStreamReceivedEventData
{
/// <summary> Initializes a new instance of <see cref="MediaLiveEventIncomingStreamReceivedEventData"/>. </summary>
internal MediaLiveEventIncomingStreamReceivedEventData()
{
}
/// <summary> Initializes a new instance of <see cref="MediaLiveEventIncomingStreamReceivedEventData"/>. </summary>
/// <param name="ingestUrl"> Gets the ingest URL provided by the live event. </param>
/// <param name="trackType"> Gets the type of the track (Audio / Video). </param>
/// <param name="trackName"> Gets the track name. </param>
/// <param name="bitrate"> Gets the bitrate of the track. </param>
/// <param name="encoderIp"> Gets the remote IP. </param>
/// <param name="encoderPort"> Gets the remote port. </param>
/// <param name="timestamp"> Gets the first timestamp of the data chunk received. </param>
/// <param name="duration"> Gets the duration of the first data chunk. </param>
/// <param name="timescale"> Gets the timescale in which timestamp is represented. </param>
internal MediaLiveEventIncomingStreamReceivedEventData(string ingestUrl, string trackType, string trackName, long? bitrate, string encoderIp, string encoderPort, string timestamp, string duration, string timescale)
{
IngestUrl = ingestUrl;
TrackType = trackType;
TrackName = trackName;
Bitrate = bitrate;
EncoderIp = encoderIp;
EncoderPort = encoderPort;
Timestamp = timestamp;
Duration = duration;
Timescale = timescale;
}
/// <summary> Gets the ingest URL provided by the live event. </summary>
public string IngestUrl { get; }
/// <summary> Gets the type of the track (Audio / Video). </summary>
public string TrackType { get; }
/// <summary> Gets the track name. </summary>
public string TrackName { get; }
/// <summary> Gets the bitrate of the track. </summary>
public long? Bitrate { get; }
/// <summary> Gets the remote IP. </summary>
public string EncoderIp { get; }
/// <summary> Gets the remote port. </summary>
public string EncoderPort { get; }
/// <summary> Gets the first timestamp of the data chunk received. </summary>
public string Timestamp { get; }
/// <summary> Gets the duration of the first data chunk. </summary>
public string Duration { get; }
/// <summary> Gets the timescale in which timestamp is represented. </summary>
public string Timescale { get; }
}
}