VideoStreamOptions.cs 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  1. using System;
  2. namespace MediaBrowser.Model.Dto
  3. {
  4. /// <summary>
  5. /// Class VideoStreamOptions
  6. /// </summary>
  7. [Obsolete]
  8. public class VideoStreamOptions
  9. {
  10. /// <summary>
  11. /// Gets or sets the audio bit rate.
  12. /// </summary>
  13. /// <value>The audio bit rate.</value>
  14. public int? AudioBitRate { get; set; }
  15. /// <summary>
  16. /// Gets or sets the audio codec.
  17. /// Omit to copy the original stream
  18. /// </summary>
  19. /// <value>The audio encoding format.</value>
  20. public string AudioCodec { get; set; }
  21. /// <summary>
  22. /// Gets or sets the item id.
  23. /// </summary>
  24. /// <value>The item id.</value>
  25. public string ItemId { get; set; }
  26. /// <summary>
  27. /// Gets or sets the max audio channels.
  28. /// </summary>
  29. /// <value>The max audio channels.</value>
  30. public int? MaxAudioChannels { get; set; }
  31. /// <summary>
  32. /// Gets or sets the max audio sample rate.
  33. /// </summary>
  34. /// <value>The max audio sample rate.</value>
  35. public int? MaxAudioSampleRate { get; set; }
  36. /// <summary>
  37. /// Gets or sets the start time ticks.
  38. /// </summary>
  39. /// <value>The start time ticks.</value>
  40. public long? StartTimeTicks { get; set; }
  41. /// <summary>
  42. /// Gets or sets a value indicating whether the original media should be served statically
  43. /// Only used with progressive streaming
  44. /// </summary>
  45. /// <value><c>true</c> if static; otherwise, <c>false</c>.</value>
  46. public bool? Static { get; set; }
  47. /// <summary>
  48. /// Gets or sets the output file extension.
  49. /// </summary>
  50. /// <value>The output file extension.</value>
  51. public string OutputFileExtension { get; set; }
  52. /// <summary>
  53. /// Gets or sets the device id.
  54. /// </summary>
  55. /// <value>The device id.</value>
  56. public string DeviceId { get; set; }
  57. /// <summary>
  58. /// Gets or sets the video codec.
  59. /// Omit to copy
  60. /// </summary>
  61. /// <value>The video codec.</value>
  62. public string VideoCodec { get; set; }
  63. /// <summary>
  64. /// Gets or sets the video bit rate.
  65. /// </summary>
  66. /// <value>The video bit rate.</value>
  67. public int? VideoBitRate { get; set; }
  68. /// <summary>
  69. /// Gets or sets the width.
  70. /// </summary>
  71. /// <value>The width.</value>
  72. public int? Width { get; set; }
  73. /// <summary>
  74. /// Gets or sets the height.
  75. /// </summary>
  76. /// <value>The height.</value>
  77. public int? Height { get; set; }
  78. /// <summary>
  79. /// Gets or sets the width of the max.
  80. /// </summary>
  81. /// <value>The width of the max.</value>
  82. public int? MaxWidth { get; set; }
  83. /// <summary>
  84. /// Gets or sets the height of the max.
  85. /// </summary>
  86. /// <value>The height of the max.</value>
  87. public int? MaxHeight { get; set; }
  88. /// <summary>
  89. /// Gets or sets the frame rate.
  90. /// </summary>
  91. /// <value>The frame rate.</value>
  92. public double? FrameRate { get; set; }
  93. /// <summary>
  94. /// Gets or sets the index of the audio stream.
  95. /// </summary>
  96. /// <value>The index of the audio stream.</value>
  97. public int? AudioStreamIndex { get; set; }
  98. /// <summary>
  99. /// Gets or sets the index of the video stream.
  100. /// </summary>
  101. /// <value>The index of the video stream.</value>
  102. public int? VideoStreamIndex { get; set; }
  103. /// <summary>
  104. /// Gets or sets the index of the subtitle stream.
  105. /// </summary>
  106. /// <value>The index of the subtitle stream.</value>
  107. public int? SubtitleStreamIndex { get; set; }
  108. /// <summary>
  109. /// Gets or sets the profile.
  110. /// </summary>
  111. /// <value>The profile.</value>
  112. public string Profile { get; set; }
  113. /// <summary>
  114. /// Gets or sets the level.
  115. /// </summary>
  116. /// <value>The level.</value>
  117. public string Level { get; set; }
  118. /// <summary>
  119. /// Gets or sets the baseline stream audio bit rate.
  120. /// </summary>
  121. /// <value>The baseline stream audio bit rate.</value>
  122. public int? BaselineStreamAudioBitRate { get; set; }
  123. /// <summary>
  124. /// Gets or sets a value indicating whether [append baseline stream].
  125. /// </summary>
  126. /// <value><c>true</c> if [append baseline stream]; otherwise, <c>false</c>.</value>
  127. public bool AppendBaselineStream { get; set; }
  128. /// <summary>
  129. /// Gets or sets the time stamp offset ms. Only used with HLS.
  130. /// </summary>
  131. /// <value>The time stamp offset ms.</value>
  132. public int? TimeStampOffsetMs { get; set; }
  133. }
  134. }