[AudioTranscoding] Add FLAC as supported target audio format and be able to define the corresponding target sample rate

This commit is contained in:
Stéphane Senart
2020-10-22 12:22:31 +02:00
parent 28ee4f0a7f
commit 5979151f11
2 changed files with 6 additions and 1 deletions

View File

@@ -185,6 +185,8 @@ namespace MediaBrowser.Model.Dlna
continue;
}
// Be careful, IsDirectStream==true by default (Static != false or not in query).
// See initialization of StreamingRequestDto in AudioController.GetAudioStream() method : Static = @static ?? true.
if (string.Equals(pair.Name, "Static", StringComparison.OrdinalIgnoreCase) &&
string.Equals(pair.Value, "true", StringComparison.OrdinalIgnoreCase))
{