namespace MediaBrowser.Model.Session
{
public class PlayerStateInfo
{
///
/// Gets or sets the now playing position ticks.
///
/// The now playing position ticks.
public long? PositionTicks { get; set; }
///
/// Gets or sets a value indicating whether this instance can seek.
///
/// true if this instance can seek; otherwise, false.
public bool CanSeek { get; set; }
///
/// Gets or sets a value indicating whether this instance is paused.
///
/// true if this instance is paused; otherwise, false.
public bool IsPaused { get; set; }
///
/// Gets or sets a value indicating whether this instance is muted.
///
/// true if this instance is muted; otherwise, false.
public bool IsMuted { get; set; }
///
/// Gets or sets the volume level.
///
/// The volume level.
public int? VolumeLevel { get; set; }
///
/// Gets or sets the index of the now playing audio stream.
///
/// The index of the now playing audio stream.
public int? AudioStreamIndex { get; set; }
///
/// Gets or sets the index of the now playing subtitle stream.
///
/// The index of the now playing subtitle stream.
public int? SubtitleStreamIndex { get; set; }
///
/// Gets or sets the now playing media version identifier.
///
/// The now playing media version identifier.
public string MediaSourceId { get; set; }
///
/// Gets or sets the play method.
///
/// The play method.
public PlayMethod? PlayMethod { get; set; }
}
public class TranscodingInfo
{
public string AudioCodec { get; set; }
public string VideoCodec { get; set; }
public string Container { get; set; }
public int? Bitrate { get; set; }
public float? Framerate { get; set; }
public double? CompletionPercentage { get; set; }
}
}