PlaybackInfoDto.cs 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. using System;
  2. using MediaBrowser.Model.Dlna;
  3. namespace Jellyfin.Api.Models.MediaInfoDtos;
  4. /// <summary>
  5. /// Plabyback info dto.
  6. /// </summary>
  7. public class PlaybackInfoDto
  8. {
  9. /// <summary>
  10. /// Gets or sets the playback userId.
  11. /// </summary>
  12. public Guid? UserId { get; set; }
  13. /// <summary>
  14. /// Gets or sets the max streaming bitrate.
  15. /// </summary>
  16. public int? MaxStreamingBitrate { get; set; }
  17. /// <summary>
  18. /// Gets or sets the start time in ticks.
  19. /// </summary>
  20. public long? StartTimeTicks { get; set; }
  21. /// <summary>
  22. /// Gets or sets the audio stream index.
  23. /// </summary>
  24. public int? AudioStreamIndex { get; set; }
  25. /// <summary>
  26. /// Gets or sets the subtitle stream index.
  27. /// </summary>
  28. public int? SubtitleStreamIndex { get; set; }
  29. /// <summary>
  30. /// Gets or sets the max audio channels.
  31. /// </summary>
  32. public int? MaxAudioChannels { get; set; }
  33. /// <summary>
  34. /// Gets or sets the media source id.
  35. /// </summary>
  36. public string? MediaSourceId { get; set; }
  37. /// <summary>
  38. /// Gets or sets the live stream id.
  39. /// </summary>
  40. public string? LiveStreamId { get; set; }
  41. /// <summary>
  42. /// Gets or sets the device profile.
  43. /// </summary>
  44. public DeviceProfile? DeviceProfile { get; set; }
  45. /// <summary>
  46. /// Gets or sets a value indicating whether to enable direct play.
  47. /// </summary>
  48. public bool? EnableDirectPlay { get; set; }
  49. /// <summary>
  50. /// Gets or sets a value indicating whether to enable direct stream.
  51. /// </summary>
  52. public bool? EnableDirectStream { get; set; }
  53. /// <summary>
  54. /// Gets or sets a value indicating whether to enable transcoding.
  55. /// </summary>
  56. public bool? EnableTranscoding { get; set; }
  57. /// <summary>
  58. /// Gets or sets a value indicating whether to enable video stream copy.
  59. /// </summary>
  60. public bool? AllowVideoStreamCopy { get; set; }
  61. /// <summary>
  62. /// Gets or sets a value indicating whether to allow audio stream copy.
  63. /// </summary>
  64. public bool? AllowAudioStreamCopy { get; set; }
  65. /// <summary>
  66. /// Gets or sets a value indicating whether to auto open the live stream.
  67. /// </summary>
  68. public bool? AutoOpenLiveStream { get; set; }
  69. }