using ProtoBuf; namespace MediaBrowser.Model.Entities { /// /// Class MediaStream /// [ProtoContract] public class MediaStream { /// /// Gets or sets the codec. /// /// The codec. [ProtoMember(1)] public string Codec { get; set; } /// /// Gets or sets the language. /// /// The language. [ProtoMember(2)] public string Language { get; set; } /// /// Gets or sets the bit rate. /// /// The bit rate. [ProtoMember(3)] public int? BitRate { get; set; } /// /// Gets or sets the channels. /// /// The channels. [ProtoMember(4)] public int? Channels { get; set; } /// /// Gets or sets the sample rate. /// /// The sample rate. [ProtoMember(5)] public int? SampleRate { get; set; } /// /// Gets or sets a value indicating whether this instance is default. /// /// true if this instance is default; otherwise, false. [ProtoMember(6)] public bool IsDefault { get; set; } /// /// Gets or sets a value indicating whether this instance is forced. /// /// true if this instance is forced; otherwise, false. [ProtoMember(7)] public bool IsForced { get; set; } /// /// Gets or sets the height. /// /// The height. [ProtoMember(8)] public int? Height { get; set; } /// /// Gets or sets the width. /// /// The width. [ProtoMember(9)] public int? Width { get; set; } /// /// Gets or sets the type of the scan. /// /// The type of the scan. [ProtoMember(10)] public string ScanType { get; set; } /// /// Gets or sets the average frame rate. /// /// The average frame rate. [ProtoMember(11)] public float? AverageFrameRate { get; set; } /// /// Gets or sets the real frame rate. /// /// The real frame rate. [ProtoMember(12)] public float? RealFrameRate { get; set; } /// /// Gets or sets the profile. /// /// The profile. [ProtoMember(13)] public string Profile { get; set; } /// /// Gets or sets the type. /// /// The type. [ProtoMember(14)] public MediaStreamType Type { get; set; } /// /// Gets or sets the aspect ratio. /// /// The aspect ratio. [ProtoMember(15)] public string AspectRatio { get; set; } /// /// Gets or sets the index. /// /// The index. [ProtoMember(16)] public int Index { get; set; } /// /// Gets or sets a value indicating whether this instance is external. /// /// true if this instance is external; otherwise, false. [ProtoMember(17)] public bool IsExternal { get; set; } /// /// Gets or sets the filename. /// /// The filename. [ProtoMember(18)] public string Path { get; set; } /// /// Gets or sets the level. /// /// The level. [ProtoMember(19)] public double Level { get; set; } } /// /// Enum MediaStreamType /// public enum MediaStreamType { /// /// The audio /// Audio, /// /// The video /// Video, /// /// The subtitle /// Subtitle } }