Skip to content

Commit

Permalink
修正fMP4录制文件无法播放问题 (#537)
Browse files Browse the repository at this point in the history
  • Loading branch information
nilaoda authored Dec 1, 2024
1 parent a8646eb commit 9f530f2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -552,7 +552,7 @@ await Parallel.ForEachAsync(segments, options, async (seg, _) =>
if (initResult != null && mp4InitFile != "")
{
// shaka/ffmpeg实时解密不需要init文件用于合并,mp4decrpyt需要
if (decryptEngine != DecryptEngine.MP4DECRYPT)
if (string.IsNullOrEmpty(currentKID) || decryptEngine == DecryptEngine.MP4DECRYPT)
{
files = [initResult.ActualFilePath, ..files];
}
Expand Down

0 comments on commit 9f530f2

Please sign in to comment.