Merge pull request #17340 from mbastian77/docs/dlna-model-xml-docs

This commit is contained in:
Bond-009
2026-07-17 13:52:31 +02:00
committed by GitHub
5 changed files with 57 additions and 10 deletions
+14 -2
View File
@@ -1,11 +1,23 @@
#pragma warning disable CS1591
namespace MediaBrowser.Model.Dlna namespace MediaBrowser.Model.Dlna
{ {
/// <summary>
/// The codec type of a codec profile.
/// </summary>
public enum CodecType public enum CodecType
{ {
/// <summary>
/// The profile applies to a video codec.
/// </summary>
Video = 0, Video = 0,
/// <summary>
/// The profile applies to the audio codec of a video stream.
/// </summary>
VideoAudio = 1, VideoAudio = 1,
/// <summary>
/// The profile applies to an audio codec.
/// </summary>
Audio = 2 Audio = 2
} }
} }
+10 -2
View File
@@ -1,10 +1,18 @@
#pragma warning disable CS1591
namespace MediaBrowser.Model.Dlna namespace MediaBrowser.Model.Dlna
{ {
/// <summary>
/// The encoding context.
/// </summary>
public enum EncodingContext public enum EncodingContext
{ {
/// <summary>
/// The media is transcoded on the fly and delivered as a stream.
/// </summary>
Streaming = 0, Streaming = 0,
/// <summary>
/// The media is transcoded to a static file.
/// </summary>
Static = 1 Static = 1
} }
} }
+14 -2
View File
@@ -1,11 +1,23 @@
#pragma warning disable CS1591
namespace MediaBrowser.Model.Dlna namespace MediaBrowser.Model.Dlna
{ {
/// <summary>
/// The playback error code.
/// </summary>
public enum PlaybackErrorCode public enum PlaybackErrorCode
{ {
/// <summary>
/// Playback of the item is not allowed.
/// </summary>
NotAllowed = 0, NotAllowed = 0,
/// <summary>
/// No stream compatible with the device profile was found.
/// </summary>
NoCompatibleStream = 1, NoCompatibleStream = 1,
/// <summary>
/// The rate limit has been exceeded.
/// </summary>
RateLimitExceeded = 2 RateLimitExceeded = 2
} }
} }
+9 -2
View File
@@ -1,11 +1,18 @@
#pragma warning disable CS1591
namespace MediaBrowser.Model.Dlna namespace MediaBrowser.Model.Dlna
{ {
/// <summary>
/// The resolution constraints.
/// </summary>
public class ResolutionOptions public class ResolutionOptions
{ {
/// <summary>
/// Gets or sets the maximum width.
/// </summary>
public int? MaxWidth { get; set; } public int? MaxWidth { get; set; }
/// <summary>
/// Gets or sets the maximum height.
/// </summary>
public int? MaxHeight { get; set; } public int? MaxHeight { get; set; }
} }
} }
+10 -2
View File
@@ -1,10 +1,18 @@
#pragma warning disable CS1591
namespace MediaBrowser.Model.Dlna namespace MediaBrowser.Model.Dlna
{ {
/// <summary>
/// The transcode seek info.
/// </summary>
public enum TranscodeSeekInfo public enum TranscodeSeekInfo
{ {
/// <summary>
/// The seek method is chosen automatically.
/// </summary>
Auto = 0, Auto = 0,
/// <summary>
/// Seeking is performed by byte position.
/// </summary>
Bytes = 1 Bytes = 1
} }
} }