mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Update Jellyfin.Api/Controllers/VideoHlsController.cs
This commit is contained in:
parent
634ce40c2f
commit
17f43c8e01
@ -366,8 +366,7 @@ namespace Jellyfin.Api.Controllers
|
|||||||
else if (string.Equals(segmentFormat, "mp4", StringComparison.OrdinalIgnoreCase))
|
else if (string.Equals(segmentFormat, "mp4", StringComparison.OrdinalIgnoreCase))
|
||||||
{
|
{
|
||||||
string outputFmp4HeaderArg;
|
string outputFmp4HeaderArg;
|
||||||
var isWindows = RuntimeInformation.IsOSPlatform(OSPlatform.Windows);
|
if (OperatingSystem.IsWindows())
|
||||||
if (isWindows)
|
|
||||||
{
|
{
|
||||||
// on Windows, the path of fmp4 header file needs to be configured
|
// on Windows, the path of fmp4 header file needs to be configured
|
||||||
outputFmp4HeaderArg = " -hls_fmp4_init_filename \"" + outputPrefix + "-1" + outputExtension + "\"";
|
outputFmp4HeaderArg = " -hls_fmp4_init_filename \"" + outputPrefix + "-1" + outputExtension + "\"";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user