Bugfix for HLS last fragment missing
This commit is contained in:
parent
315fb0f40e
commit
1a91c743db
1 changed files with 2 additions and 0 deletions
|
@ -69,6 +69,8 @@ namespace Mist {
|
|||
|
||||
if (it != (myMeta.tracks[tid].fragments.end() - 1)){
|
||||
result << "#EXTINF:" << ((it->getDuration() + 500) / 1000) << ", no desc\r\n" << starttime << "_" << it->getDuration() + starttime << ".ts\r\n";
|
||||
} else {
|
||||
result << "#EXTINF:" << ((myMeta.tracks[tid].lastms-starttime + 500) / 1000) << ", no desc\r\n" << starttime << "_" << myMeta.tracks[tid].lastms << ".ts\r\n";
|
||||
}
|
||||
}
|
||||
if ( !myMeta.live){
|
||||
|
|
Loading…
Add table
Reference in a new issue