jellyfin-server/MediaBrowser.Api/Playback/StreamRequest.cs

113 lines
3.3 KiB
C#
Raw Normal View History

2013-02-26 21:53:51 +00:00
using MediaBrowser.Model.Dto;
namespace MediaBrowser.Api.Playback
{
2013-02-27 04:19:05 +00:00
/// <summary>
/// Class StreamRequest
/// </summary>
2013-02-26 21:53:51 +00:00
public class StreamRequest
{
2013-02-27 04:19:05 +00:00
/// <summary>
/// Gets or sets the id.
/// </summary>
/// <value>The id.</value>
2013-02-26 21:53:51 +00:00
public string Id { get; set; }
2013-02-27 04:19:05 +00:00
/// <summary>
/// Gets or sets the audio codec.
/// </summary>
/// <value>The audio codec.</value>
2013-02-26 21:53:51 +00:00
public AudioCodecs? AudioCodec { get; set; }
2013-02-27 04:19:05 +00:00
/// <summary>
/// Gets or sets the start time ticks.
/// </summary>
/// <value>The start time ticks.</value>
2013-02-26 21:53:51 +00:00
public long? StartTimeTicks { get; set; }
2013-02-27 04:19:05 +00:00
/// <summary>
/// Gets or sets the audio bit rate.
/// </summary>
/// <value>The audio bit rate.</value>
2013-02-26 21:53:51 +00:00
public int? AudioBitRate { get; set; }
2013-02-27 04:19:05 +00:00
/// <summary>
/// Gets or sets the video codec.
/// </summary>
/// <value>The video codec.</value>
2013-02-26 21:53:51 +00:00
public VideoCodecs? VideoCodec { get; set; }
2013-02-27 04:19:05 +00:00
/// <summary>
/// Gets or sets the video bit rate.
/// </summary>
/// <value>The video bit rate.</value>
2013-02-26 21:53:51 +00:00
public int? VideoBitRate { get; set; }
2013-02-27 04:19:05 +00:00
/// <summary>
/// Gets or sets the index of the audio stream.
/// </summary>
/// <value>The index of the audio stream.</value>
2013-02-26 21:53:51 +00:00
public int? AudioStreamIndex { get; set; }
2013-02-27 04:19:05 +00:00
/// <summary>
/// Gets or sets the index of the video stream.
/// </summary>
/// <value>The index of the video stream.</value>
2013-02-26 21:53:51 +00:00
public int? VideoStreamIndex { get; set; }
2013-02-27 04:19:05 +00:00
/// <summary>
/// Gets or sets the index of the subtitle stream.
/// </summary>
/// <value>The index of the subtitle stream.</value>
2013-02-26 21:53:51 +00:00
public int? SubtitleStreamIndex { get; set; }
2013-02-27 04:19:05 +00:00
/// <summary>
/// Gets or sets the audio channels.
/// </summary>
/// <value>The audio channels.</value>
2013-02-26 21:53:51 +00:00
public int? AudioChannels { get; set; }
2013-02-27 04:19:05 +00:00
/// <summary>
/// Gets or sets the audio sample rate.
/// </summary>
/// <value>The audio sample rate.</value>
2013-02-26 21:53:51 +00:00
public int? AudioSampleRate { get; set; }
2013-02-27 04:19:05 +00:00
/// <summary>
/// Gets or sets the width.
/// </summary>
/// <value>The width.</value>
2013-02-26 21:53:51 +00:00
public int? Width { get; set; }
2013-02-27 04:19:05 +00:00
/// <summary>
/// Gets or sets the height.
/// </summary>
/// <value>The height.</value>
2013-02-26 21:53:51 +00:00
public int? Height { get; set; }
2013-02-27 04:19:05 +00:00
/// <summary>
/// Gets or sets the width of the max.
/// </summary>
/// <value>The width of the max.</value>
2013-02-26 21:53:51 +00:00
public int? MaxWidth { get; set; }
2013-02-27 04:19:05 +00:00
/// <summary>
/// Gets or sets the height of the max.
/// </summary>
/// <value>The height of the max.</value>
2013-02-26 21:53:51 +00:00
public int? MaxHeight { get; set; }
2013-02-27 04:19:05 +00:00
/// <summary>
/// Gets or sets the framerate.
/// </summary>
/// <value>The framerate.</value>
2013-02-26 21:53:51 +00:00
public double? Framerate { get; set; }
2013-02-27 04:19:05 +00:00
/// <summary>
/// Gets or sets a value indicating whether this <see cref="StreamRequest" /> is static.
/// </summary>
/// <value><c>true</c> if static; otherwise, <c>false</c>.</value>
public bool Static { get; set; }
2013-02-26 21:53:51 +00:00
}
}