mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-11-16 18:42:52 -07:00
113 lines
3.3 KiB
C#
113 lines
3.3 KiB
C#
using MediaBrowser.Model.Dto;
|
|
|
|
namespace MediaBrowser.Api.Playback
|
|
{
|
|
/// <summary>
|
|
/// Class StreamRequest
|
|
/// </summary>
|
|
public class StreamRequest
|
|
{
|
|
/// <summary>
|
|
/// Gets or sets the id.
|
|
/// </summary>
|
|
/// <value>The id.</value>
|
|
public string Id { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the audio codec.
|
|
/// </summary>
|
|
/// <value>The audio codec.</value>
|
|
public AudioCodecs? AudioCodec { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the start time ticks.
|
|
/// </summary>
|
|
/// <value>The start time ticks.</value>
|
|
public long? StartTimeTicks { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the audio bit rate.
|
|
/// </summary>
|
|
/// <value>The audio bit rate.</value>
|
|
public int? AudioBitRate { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the video codec.
|
|
/// </summary>
|
|
/// <value>The video codec.</value>
|
|
public VideoCodecs? VideoCodec { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the video bit rate.
|
|
/// </summary>
|
|
/// <value>The video bit rate.</value>
|
|
public int? VideoBitRate { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the index of the audio stream.
|
|
/// </summary>
|
|
/// <value>The index of the audio stream.</value>
|
|
public int? AudioStreamIndex { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the index of the video stream.
|
|
/// </summary>
|
|
/// <value>The index of the video stream.</value>
|
|
public int? VideoStreamIndex { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the index of the subtitle stream.
|
|
/// </summary>
|
|
/// <value>The index of the subtitle stream.</value>
|
|
public int? SubtitleStreamIndex { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the audio channels.
|
|
/// </summary>
|
|
/// <value>The audio channels.</value>
|
|
public int? AudioChannels { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the audio sample rate.
|
|
/// </summary>
|
|
/// <value>The audio sample rate.</value>
|
|
public int? AudioSampleRate { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the width.
|
|
/// </summary>
|
|
/// <value>The width.</value>
|
|
public int? Width { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the height.
|
|
/// </summary>
|
|
/// <value>The height.</value>
|
|
public int? Height { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the width of the max.
|
|
/// </summary>
|
|
/// <value>The width of the max.</value>
|
|
public int? MaxWidth { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the height of the max.
|
|
/// </summary>
|
|
/// <value>The height of the max.</value>
|
|
public int? MaxHeight { get; set; }
|
|
|
|
/// <summary>
|
|
/// Gets or sets the framerate.
|
|
/// </summary>
|
|
/// <value>The framerate.</value>
|
|
public double? Framerate { get; set; }
|
|
|
|
/// <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; }
|
|
}
|
|
}
|