diff options
| author | Bond-009 <bond.009@outlook.com> | 2023-10-09 18:28:49 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-10-09 18:28:49 +0200 |
| commit | d5695efad9542c97080b8578379522ba12a1f824 (patch) | |
| tree | b71ba54f664da3a21b4f53b719759ba066400fa6 /Jellyfin.Api/Helpers/HlsCodecStringHelpers.cs | |
| parent | 75ee990e1d91d527974054e4130d9d27d0f7f2d6 (diff) | |
| parent | aa073748c00fe2b0508fde88d900143acec09e36 (diff) | |
Merge pull request #10067 from lonebyte/flac-hls-fixes
Diffstat (limited to 'Jellyfin.Api/Helpers/HlsCodecStringHelpers.cs')
| -rw-r--r-- | Jellyfin.Api/Helpers/HlsCodecStringHelpers.cs | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Jellyfin.Api/Helpers/HlsCodecStringHelpers.cs b/Jellyfin.Api/Helpers/HlsCodecStringHelpers.cs index 9a141a16d..5eec1b0ca 100644 --- a/Jellyfin.Api/Helpers/HlsCodecStringHelpers.cs +++ b/Jellyfin.Api/Helpers/HlsCodecStringHelpers.cs @@ -5,7 +5,9 @@ using System.Text; namespace Jellyfin.Api.Helpers; /// <summary> -/// Hls Codec string helpers. +/// Helpers to generate HLS codec strings according to +/// <a href="https://datatracker.ietf.org/doc/html/rfc6381#section-3.3">RFC 6381 section 3.3</a> +/// and the <a href="https://mp4ra.org">MP4 Registration Authority</a>. /// </summary> public static class HlsCodecStringHelpers { @@ -27,7 +29,7 @@ public static class HlsCodecStringHelpers /// <summary> /// Codec name for FLAC. /// </summary> - public const string FLAC = "flac"; + public const string FLAC = "fLaC"; /// <summary> /// Codec name for ALAC. @@ -37,7 +39,7 @@ public static class HlsCodecStringHelpers /// <summary> /// Codec name for OPUS. /// </summary> - public const string OPUS = "opus"; + public const string OPUS = "Opus"; /// <summary> /// Gets a MP3 codec string. |
