mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Add xmldoc for MediaOptions
This commit is contained in:
parent
1cd7da8889
commit
08a5c71b90
@ -1,5 +1,4 @@
|
|||||||
#nullable disable
|
#nullable disable
|
||||||
#pragma warning disable CS1591
|
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
using MediaBrowser.Model.Dto;
|
using MediaBrowser.Model.Dto;
|
||||||
@ -11,6 +10,9 @@ namespace MediaBrowser.Model.Dlna
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public class MediaOptions
|
public class MediaOptions
|
||||||
{
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Creates a new instance of the <see cref="MediaOptions"/> class.
|
||||||
|
/// </summary>
|
||||||
public MediaOptions()
|
public MediaOptions()
|
||||||
{
|
{
|
||||||
Context = EncodingContext.Streaming;
|
Context = EncodingContext.Streaming;
|
||||||
@ -19,28 +21,50 @@ namespace MediaBrowser.Model.Dlna
|
|||||||
EnableDirectStream = true;
|
EnableDirectStream = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or sets a boolean to allow/forbid direct playback.
|
||||||
|
/// </summary>
|
||||||
public bool EnableDirectPlay { get; set; }
|
public bool EnableDirectPlay { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or sets a boolean to allow/forbid direct streaming.
|
||||||
|
/// </summary>
|
||||||
public bool EnableDirectStream { get; set; }
|
public bool EnableDirectStream { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or sets a boolean to force direct playback.
|
||||||
|
/// </summary>
|
||||||
public bool ForceDirectPlay { get; set; }
|
public bool ForceDirectPlay { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or sets a boolean to force direct streaming.
|
||||||
|
/// </summary>
|
||||||
public bool ForceDirectStream { get; set; }
|
public bool ForceDirectStream { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets an override for allowing stream copy.
|
/// Gets or sets a boolean to allow/forbid audio stream copy.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public bool AllowAudioStreamCopy { get; set; }
|
public bool AllowAudioStreamCopy { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets an override for allowing stream copy.
|
/// Gets or sets a boolean to allow/forbid video stream copy.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public bool AllowVideoStreamCopy { get; set; }
|
public bool AllowVideoStreamCopy { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or sets the item id.
|
||||||
|
/// </summary>
|
||||||
public Guid ItemId { get; set; }
|
public Guid ItemId { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or sets the media sources.
|
||||||
|
/// </summary>
|
||||||
public MediaSourceInfo[] MediaSources { get; set; }
|
public MediaSourceInfo[] MediaSources { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or sets the device profile.
|
||||||
|
/// </summary>
|
||||||
|
|
||||||
public DeviceProfile Profile { get; set; }
|
public DeviceProfile Profile { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -48,6 +72,9 @@ namespace MediaBrowser.Model.Dlna
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public string MediaSourceId { get; set; }
|
public string MediaSourceId { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or sets the device id.
|
||||||
|
/// </summary>
|
||||||
public string DeviceId { get; set; }
|
public string DeviceId { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
@ -57,7 +84,7 @@ namespace MediaBrowser.Model.Dlna
|
|||||||
public int? MaxAudioChannels { get; set; }
|
public int? MaxAudioChannels { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Gets or sets the application's configured quality setting.
|
/// Gets or sets the application's configured maximum bitrate.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public int? MaxBitrate { get; set; }
|
public int? MaxBitrate { get; set; }
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user