Bånder

HLSPlaylistGenerator
in package
implements PlaylistGenerator

Table of Contents

Interfaces

PlaylistGenerator

Constants

PLAYLIST_END  = '#EXT-X-ENDLIST'
PLAYLIST_START  = '#EXTM3U'

Methods

get()  : string
Loops through all segment playlists and generates a main playlist. It finds the relative paths to the segment playlists and adds the framerate when to each playlist.
getStreamInfoLine()  : string
Return the line from the master playlist that references the given segment playlist.

Constants

Methods

get()

Loops through all segment playlists and generates a main playlist. It finds the relative paths to the segment playlists and adds the framerate when to each playlist.

public get(array<string|int, mixed> $segmentPlaylists, PHPFFMpeg $driver) : string
Parameters
$segmentPlaylists : array<string|int, mixed>
$driver : PHPFFMpeg
Return values
string

getStreamInfoLine()

Return the line from the master playlist that references the given segment playlist.

private getStreamInfoLine(Media $segmentPlaylistMedia, string $key) : string
Parameters
$segmentPlaylistMedia : Media
$key : string
Return values
string

        
On this page

Search results