2013-12-19 21:51:32 +00:00
|
|
|
|
using MediaBrowser.Model.Entities;
|
2013-08-10 01:16:31 +00:00
|
|
|
|
using MediaBrowser.Model.IO;
|
2013-12-19 21:51:32 +00:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.IO;
|
2013-02-27 04:19:05 +00:00
|
|
|
|
|
|
|
|
|
namespace MediaBrowser.Api.Playback
|
|
|
|
|
{
|
|
|
|
|
public class StreamState
|
|
|
|
|
{
|
2013-12-19 21:51:32 +00:00
|
|
|
|
public string RequestedUrl { get; set; }
|
2013-02-27 04:19:05 +00:00
|
|
|
|
|
|
|
|
|
public StreamRequest Request { get; set; }
|
|
|
|
|
|
2013-03-09 02:34:54 +00:00
|
|
|
|
public VideoStreamRequest VideoRequest
|
|
|
|
|
{
|
|
|
|
|
get { return (VideoStreamRequest) Request; }
|
|
|
|
|
}
|
|
|
|
|
|
2013-02-27 04:19:05 +00:00
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the log file stream.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The log file stream.</value>
|
|
|
|
|
public Stream LogFileStream { get; set; }
|
|
|
|
|
|
|
|
|
|
public MediaStream AudioStream { get; set; }
|
|
|
|
|
|
|
|
|
|
public MediaStream VideoStream { get; set; }
|
|
|
|
|
|
|
|
|
|
public MediaStream SubtitleStream { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the iso mount.
|
|
|
|
|
/// </summary>
|
|
|
|
|
/// <value>The iso mount.</value>
|
|
|
|
|
public IIsoMount IsoMount { get; set; }
|
2013-12-19 21:51:32 +00:00
|
|
|
|
|
|
|
|
|
public string MediaPath { get; set; }
|
|
|
|
|
|
|
|
|
|
public bool IsRemote { get; set; }
|
|
|
|
|
|
|
|
|
|
public bool IsInputVideo { get; set; }
|
|
|
|
|
|
|
|
|
|
public VideoType VideoType { get; set; }
|
|
|
|
|
|
|
|
|
|
public IsoType? IsoType { get; set; }
|
|
|
|
|
|
|
|
|
|
public List<string> PlayableStreamFileNames { get; set; }
|
2013-02-27 04:19:05 +00:00
|
|
|
|
}
|
|
|
|
|
}
|