aboutsummaryrefslogtreecommitdiff
path: root/src/Jellyfin.MediaEncoding.Hls/Playlist/IDynamicHlsPlaylistGenerator.cs
blob: 7e766b9a2b774694f3ca4c1394eb9eb069ed123c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
namespace Jellyfin.MediaEncoding.Hls.Playlist
{
    /// <summary>
    /// Generator for dynamic HLS playlists where the segment lengths aren't known in advance.
    /// </summary>
    public interface IDynamicHlsPlaylistGenerator
    {
        /// <summary>
        /// Creates the main playlist containing the main video or audio stream.
        /// </summary>
        /// <param name="request">An instance of the <see cref="CreateMainPlaylistRequest"/> class.</param>
        /// <returns>The playlist as a formatted string.</returns>
        string CreateMainPlaylist(CreateMainPlaylistRequest request);
    }
}