jellyfin/MediaBrowser.Api/Playback/StreamState.cs

40 lines
1007 B
C#
Raw Normal View History

2013-02-27 04:19:05 +00:00
using System.IO;
using MediaBrowser.Common.IO;
using MediaBrowser.Controller.Entities;
using MediaBrowser.Model.Entities;
namespace MediaBrowser.Api.Playback
{
public class StreamState
{
public string Url { get; set; }
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; }
public BaseItem Item { get; set; }
/// <summary>
/// Gets or sets the iso mount.
/// </summary>
/// <value>The iso mount.</value>
public IIsoMount IsoMount { get; set; }
}
}