mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-26 03:55:01 +01:00
video streaming
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using MediaBrowser.Controller;
|
||||
using MediaBrowser.Common.Net;
|
||||
using MediaBrowser.Controller;
|
||||
using MediaBrowser.Controller.Entities;
|
||||
using MediaBrowser.Controller.Entities.Audio;
|
||||
using MediaBrowser.Model.Dto;
|
||||
@@ -123,6 +124,8 @@ namespace MediaBrowser.Api.Playback.Progressive
|
||||
// Use the command line args with a dummy playlist path
|
||||
var outputPath = GetOutputFilePath(state);
|
||||
|
||||
Response.ContentType = MimeTypes.GetMimeType(outputPath);
|
||||
|
||||
if (!File.Exists(outputPath))
|
||||
{
|
||||
await StartFFMpeg(state, outputPath).ConfigureAwait(false);
|
||||
|
||||
Reference in New Issue
Block a user