StreamOptions.cs 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. using System;
  2. namespace MediaBrowser.Model.Dto
  3. {
  4. /// <summary>
  5. /// Class StreamOptions
  6. /// </summary>
  7. [Obsolete]
  8. public class StreamOptions
  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. }
  58. }