StreamRequest.cs 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. using MediaBrowser.Model.Dto;
  2. namespace MediaBrowser.Api.Playback
  3. {
  4. /// <summary>
  5. /// Class StreamRequest
  6. /// </summary>
  7. public class StreamRequest
  8. {
  9. /// <summary>
  10. /// Gets or sets the id.
  11. /// </summary>
  12. /// <value>The id.</value>
  13. public string Id { get; set; }
  14. /// <summary>
  15. /// Gets or sets the audio codec.
  16. /// </summary>
  17. /// <value>The audio codec.</value>
  18. public AudioCodecs? AudioCodec { get; set; }
  19. /// <summary>
  20. /// Gets or sets the start time ticks.
  21. /// </summary>
  22. /// <value>The start time ticks.</value>
  23. public long? StartTimeTicks { get; set; }
  24. /// <summary>
  25. /// Gets or sets the audio bit rate.
  26. /// </summary>
  27. /// <value>The audio bit rate.</value>
  28. public int? AudioBitRate { get; set; }
  29. /// <summary>
  30. /// Gets or sets the video codec.
  31. /// </summary>
  32. /// <value>The video codec.</value>
  33. public VideoCodecs? VideoCodec { get; set; }
  34. /// <summary>
  35. /// Gets or sets the video bit rate.
  36. /// </summary>
  37. /// <value>The video bit rate.</value>
  38. public int? VideoBitRate { get; set; }
  39. /// <summary>
  40. /// Gets or sets the index of the audio stream.
  41. /// </summary>
  42. /// <value>The index of the audio stream.</value>
  43. public int? AudioStreamIndex { get; set; }
  44. /// <summary>
  45. /// Gets or sets the index of the video stream.
  46. /// </summary>
  47. /// <value>The index of the video stream.</value>
  48. public int? VideoStreamIndex { get; set; }
  49. /// <summary>
  50. /// Gets or sets the index of the subtitle stream.
  51. /// </summary>
  52. /// <value>The index of the subtitle stream.</value>
  53. public int? SubtitleStreamIndex { get; set; }
  54. /// <summary>
  55. /// Gets or sets the audio channels.
  56. /// </summary>
  57. /// <value>The audio channels.</value>
  58. public int? AudioChannels { get; set; }
  59. /// <summary>
  60. /// Gets or sets the audio sample rate.
  61. /// </summary>
  62. /// <value>The audio sample rate.</value>
  63. public int? AudioSampleRate { get; set; }
  64. /// <summary>
  65. /// Gets or sets the width.
  66. /// </summary>
  67. /// <value>The width.</value>
  68. public int? Width { get; set; }
  69. /// <summary>
  70. /// Gets or sets the height.
  71. /// </summary>
  72. /// <value>The height.</value>
  73. public int? Height { get; set; }
  74. /// <summary>
  75. /// Gets or sets the width of the max.
  76. /// </summary>
  77. /// <value>The width of the max.</value>
  78. public int? MaxWidth { get; set; }
  79. /// <summary>
  80. /// Gets or sets the height of the max.
  81. /// </summary>
  82. /// <value>The height of the max.</value>
  83. public int? MaxHeight { get; set; }
  84. /// <summary>
  85. /// Gets or sets the framerate.
  86. /// </summary>
  87. /// <value>The framerate.</value>
  88. public double? Framerate { get; set; }
  89. /// <summary>
  90. /// Gets or sets a value indicating whether this <see cref="StreamRequest" /> is static.
  91. /// </summary>
  92. /// <value><c>true</c> if static; otherwise, <c>false</c>.</value>
  93. public bool Static { get; set; }
  94. }
  95. }