StreamingRequestDto.cs 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. using MediaBrowser.Controller.MediaEncoding;
  2. namespace Jellyfin.Api.Models.StreamingDtos;
  3. /// <summary>
  4. /// The audio streaming request dto.
  5. /// </summary>
  6. public class StreamingRequestDto : BaseEncodingJobOptions
  7. {
  8. /// <summary>
  9. /// Gets or sets the device profile.
  10. /// </summary>
  11. public string? DeviceProfileId { get; set; }
  12. /// <summary>
  13. /// Gets or sets the params.
  14. /// </summary>
  15. public string? Params { get; set; }
  16. /// <summary>
  17. /// Gets or sets the play session id.
  18. /// </summary>
  19. public string? PlaySessionId { get; set; }
  20. /// <summary>
  21. /// Gets or sets the tag.
  22. /// </summary>
  23. public string? Tag { get; set; }
  24. /// <summary>
  25. /// Gets or sets the segment container.
  26. /// </summary>
  27. public string? SegmentContainer { get; set; }
  28. /// <summary>
  29. /// Gets or sets the segment length.
  30. /// </summary>
  31. public int? SegmentLength { get; set; }
  32. /// <summary>
  33. /// Gets or sets the min segments.
  34. /// </summary>
  35. public int? MinSegments { get; set; }
  36. /// <summary>
  37. /// Gets or sets the position of the requested segment in ticks.
  38. /// </summary>
  39. public long CurrentRuntimeTicks { get; set; }
  40. /// <summary>
  41. /// Gets or sets the actual segment length in ticks.
  42. /// </summary>
  43. public long ActualSegmentLengthTicks { get; set; }
  44. }