StreamOptions.cs 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. namespace MediaBrowser.Model.Dto
  2. {
  3. /// <summary>
  4. /// Class StreamOptions
  5. /// </summary>
  6. public class StreamOptions
  7. {
  8. /// <summary>
  9. /// Gets or sets the audio bit rate.
  10. /// </summary>
  11. /// <value>The audio bit rate.</value>
  12. public int? AudioBitRate { get; set; }
  13. /// <summary>
  14. /// Gets or sets the audio codec.
  15. /// Omit to copy the original stream
  16. /// </summary>
  17. /// <value>The audio encoding format.</value>
  18. public string AudioCodec { get; set; }
  19. /// <summary>
  20. /// Gets or sets the item id.
  21. /// </summary>
  22. /// <value>The item id.</value>
  23. public string ItemId { get; set; }
  24. /// <summary>
  25. /// Gets or sets the max audio channels.
  26. /// </summary>
  27. /// <value>The max audio channels.</value>
  28. public int? MaxAudioChannels { get; set; }
  29. /// <summary>
  30. /// Gets or sets the max audio sample rate.
  31. /// </summary>
  32. /// <value>The max audio sample rate.</value>
  33. public int? MaxAudioSampleRate { get; set; }
  34. /// <summary>
  35. /// Gets or sets the start time ticks.
  36. /// </summary>
  37. /// <value>The start time ticks.</value>
  38. public long? StartTimeTicks { get; set; }
  39. /// <summary>
  40. /// Gets or sets a value indicating whether the original media should be served statically
  41. /// Only used with progressive streaming
  42. /// </summary>
  43. /// <value><c>true</c> if static; otherwise, <c>false</c>.</value>
  44. public bool? Static { get; set; }
  45. /// <summary>
  46. /// Gets or sets the output file extension.
  47. /// </summary>
  48. /// <value>The output file extension.</value>
  49. public string OutputFileExtension { get; set; }
  50. /// <summary>
  51. /// Gets or sets the device id.
  52. /// </summary>
  53. /// <value>The device id.</value>
  54. public string DeviceId { get; set; }
  55. }
  56. }