From a1966f723dba418af4771ae432142bc083d227e8 Mon Sep 17 00:00:00 2001 From: kim Date: Fri, 1 Nov 2024 21:38:51 +0000 Subject: [PATCH] set mjpeg content-type --- internal/media/ffmpeg.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/media/ffmpeg.go b/internal/media/ffmpeg.go index a35790383..1d7b01905 100644 --- a/internal/media/ffmpeg.go +++ b/internal/media/ffmpeg.go @@ -330,7 +330,7 @@ func (res *result) GetFileType() (gtsmodel.FileType, string, string) { "video/mpeg", "mpeg" case "mjpeg": return gtsmodel.FileTypeVideo, - "", "mjpeg" + "video/x-motion-jpeg", "mjpeg" case "mov,mp4,m4a,3gp,3g2,mj2": switch { case len(res.video) > 0: