ChannelMediaInfo.cs 1.0 KB

1234567891011121314151617181920212223242526272829303132333435
  1. using System;
  2. using System.Collections.Generic;
  3. namespace MediaBrowser.Controller.Channels
  4. {
  5. public class ChannelMediaInfo
  6. {
  7. public string Path { get; set; }
  8. public Dictionary<string, string> RequiredHttpHeaders { get; set; }
  9. public string Container { get; set; }
  10. public string AudioCodec { get; set; }
  11. public string VideoCodec { get; set; }
  12. public int? AudioBitrate { get; set; }
  13. public int? VideoBitrate { get; set; }
  14. public int? Width { get; set; }
  15. public int? Height { get; set; }
  16. public int? AudioChannels { get; set; }
  17. public int? AudioSampleRate { get; set; }
  18. public bool IsRemote { get; set; }
  19. public string VideoProfile { get; set; }
  20. public float? VideoLevel { get; set; }
  21. public float? Framerate { get; set; }
  22. public ChannelMediaInfo()
  23. {
  24. RequiredHttpHeaders = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);
  25. IsRemote = true;
  26. }
  27. }
  28. }