2014-06-17 01:56:23 +00:00
|
|
|
|
using MediaBrowser.Model.MediaInfo;
|
|
|
|
|
using System;
|
2014-06-02 19:32:41 +00:00
|
|
|
|
using System.Collections.Generic;
|
2014-05-11 23:02:28 +00:00
|
|
|
|
|
|
|
|
|
namespace MediaBrowser.Controller.Channels
|
|
|
|
|
{
|
|
|
|
|
public class ChannelMediaInfo
|
|
|
|
|
{
|
|
|
|
|
public string Path { get; set; }
|
|
|
|
|
|
|
|
|
|
public Dictionary<string, string> RequiredHttpHeaders { get; set; }
|
|
|
|
|
|
|
|
|
|
public string Container { get; set; }
|
|
|
|
|
public string AudioCodec { get; set; }
|
|
|
|
|
public string VideoCodec { get; set; }
|
|
|
|
|
|
|
|
|
|
public int? AudioBitrate { get; set; }
|
|
|
|
|
public int? VideoBitrate { get; set; }
|
|
|
|
|
public int? Width { get; set; }
|
|
|
|
|
public int? Height { get; set; }
|
|
|
|
|
public int? AudioChannels { get; set; }
|
2014-06-01 19:41:35 +00:00
|
|
|
|
public int? AudioSampleRate { get; set; }
|
2014-05-11 23:02:28 +00:00
|
|
|
|
|
2014-06-01 19:41:35 +00:00
|
|
|
|
public string VideoProfile { get; set; }
|
|
|
|
|
public float? VideoLevel { get; set; }
|
|
|
|
|
public float? Framerate { get; set; }
|
|
|
|
|
|
2014-06-17 01:56:23 +00:00
|
|
|
|
public MediaProtocol Protocol { get; set; }
|
|
|
|
|
|
2014-05-11 23:02:28 +00:00
|
|
|
|
public ChannelMediaInfo()
|
|
|
|
|
{
|
2014-06-02 19:32:41 +00:00
|
|
|
|
RequiredHttpHeaders = new Dictionary<string, string>(StringComparer.OrdinalIgnoreCase);
|
2014-06-17 01:56:23 +00:00
|
|
|
|
|
|
|
|
|
// This is most common
|
|
|
|
|
Protocol = MediaProtocol.Http;
|
2014-05-11 23:02:28 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|