mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-08-31 16:12:48 +00:00
Fix A/V desync when resuming HLS with video transcode + audio copy (#16580)
Fix A/V desync when resuming HLS with video transcode + audio copy
This commit is contained in:
parent
ef9468e857
commit
8d544e4842
4 changed files with 153 additions and 28 deletions
|
|
@ -61,7 +61,7 @@ public class EncodingOptions
|
|||
SubtitleExtractionTimeoutMinutes = 30;
|
||||
AllowOnDemandMetadataBasedKeyframeExtractionForExtensions = ["mkv"];
|
||||
HardwareDecodingCodecs = ["h264", "vc1"];
|
||||
HlsAudioSeekStrategy = HlsAudioSeekStrategy.DisableAccurateSeek;
|
||||
HlsAudioSeekStrategy = HlsAudioSeekStrategy.TrimCopiedAudio;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
@ -307,6 +307,6 @@ public class EncodingOptions
|
|||
/// <summary>
|
||||
/// Gets or sets the method used for audio seeking in HLS.
|
||||
/// </summary>
|
||||
[DefaultValue(HlsAudioSeekStrategy.DisableAccurateSeek)]
|
||||
[DefaultValue(HlsAudioSeekStrategy.TrimCopiedAudio)]
|
||||
public HlsAudioSeekStrategy HlsAudioSeekStrategy { get; set; }
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue