aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Streaming/StreamingRequestDto.cs
blob: 89eef28fab6b0f926c35b06e5b2e18042dab918c (plain)
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
using MediaBrowser.Controller.MediaEncoding;

namespace MediaBrowser.Controller.Streaming;

/// <summary>
/// The audio streaming request dto.
/// </summary>
public class StreamingRequestDto : BaseEncodingJobOptions
{
    /// <summary>
    /// Gets or sets the params.
    /// </summary>
    public string? Params { get; set; }

    /// <summary>
    /// Gets or sets the play session id.
    /// </summary>
    public string? PlaySessionId { get; set; }

    /// <summary>
    /// Gets or sets the tag.
    /// </summary>
    public string? Tag { get; set; }

    /// <summary>
    /// Gets or sets the segment container.
    /// </summary>
    public string? SegmentContainer { get; set; }

    /// <summary>
    /// Gets or sets the segment length.
    /// </summary>
    public int? SegmentLength { get; set; }

    /// <summary>
    /// Gets or sets the min segments.
    /// </summary>
    public int? MinSegments { get; set; }

    /// <summary>
    /// Gets or sets the position of the requested segment in ticks.
    /// </summary>
    public long CurrentRuntimeTicks { get; set; }

    /// <summary>
    /// Gets or sets the actual segment length in ticks.
    /// </summary>
    public long ActualSegmentLengthTicks { get; set; }
}