Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Remove EXT-X-ENDLIST from master playlist file #519

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions src/Exporters/HLSPlaylistGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
class HLSPlaylistGenerator implements PlaylistGenerator
{
public const PLAYLIST_START = '#EXTM3U';
public const PLAYLIST_END = '#EXT-X-ENDLIST';

/**
* Return the line from the master playlist that references the given segment playlist.
Expand Down Expand Up @@ -58,7 +57,6 @@ public function get(array $segmentPlaylists, PHPFFMpeg $driver): string
return [$streamInfoLine, $segmentPlaylist->getFilename()];
})->collapse()
->prepend(static::PLAYLIST_START)
->push(static::PLAYLIST_END)
->implode(PHP_EOL);
}
}