2020-07-22 14:57:06 +00:00
|
|
|
|
using MediaBrowser.Controller.MediaEncoding;
|
|
|
|
|
|
2023-01-31 11:18:10 +00:00
|
|
|
|
namespace Jellyfin.Api.Models.StreamingDtos;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// The audio streaming request dto.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class StreamingRequestDto : BaseEncodingJobOptions
|
2020-07-22 14:57:06 +00:00
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
2023-01-31 11:18:10 +00:00
|
|
|
|
/// 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; }
|
2020-07-22 14:57:06 +00:00
|
|
|
|
}
|