DirectPlayProfile.cs 736 B

12345678910111213141516171819202122232425262728293031
  1. using System.Collections.Generic;
  2. namespace MediaBrowser.Controller.Dlna
  3. {
  4. public class DirectPlayProfile
  5. {
  6. public string[] Containers { get; set; }
  7. public string[] AudioCodecs { get; set; }
  8. public string[] VideoCodecs { get; set; }
  9. public DlnaProfileType Type { get; set; }
  10. public List<ProfileCondition> Conditions { get; set; }
  11. public DirectPlayProfile()
  12. {
  13. Conditions = new List<ProfileCondition>();
  14. AudioCodecs = new string[] { };
  15. VideoCodecs = new string[] { };
  16. Containers = new string[] { };
  17. }
  18. }
  19. public enum DlnaProfileType
  20. {
  21. Audio = 0,
  22. Video = 1,
  23. Photo = 2
  24. }
  25. }