aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/Configuration/HlsAudioSeekStrategy.cs
blob: 49feeb435f012a652e0cba7749acbb7b98ef9b95 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
namespace MediaBrowser.Model.Configuration
{
    /// <summary>
    /// An enum representing the options to seek the input audio stream when
    /// transcoding HLS segments.
    /// </summary>
    public enum HlsAudioSeekStrategy
    {
        /// <summary>
        /// If the video stream is transcoded and the audio stream is copied,
        /// seek the video stream to the same keyframe as the audio stream. The
        /// resulting timestamps in the output streams may be inaccurate.
        /// </summary>
        DisableAccurateSeek = 0,

        /// <summary>
        /// Prevent audio streams from being copied if the video stream is transcoded.
        /// The resulting timestamps will be accurate, but additional audio transcoding
        /// overhead will be incurred.
        /// </summary>
        TranscodeAudio = 1,
    }
}