ChannelMediaInfo.cs 1.1 KB

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