Fixed live HLS
This commit is contained in:
parent
e595964832
commit
ed997a1bc3
1 changed files with 3 additions and 3 deletions
|
@ -135,10 +135,10 @@ namespace Mist {
|
|||
PackData.continuityCounter(ContCounter++);
|
||||
if (first){
|
||||
PackData.unitStart(1);
|
||||
if (currentPacket.getInt("keyframe")){
|
||||
PackData.randomAccess(1);
|
||||
}
|
||||
if (myMeta.tracks[currentPacket.getTrackId()].type == "video"){
|
||||
if (currentPacket.getInt("keyframe")){
|
||||
PackData.randomAccess(1);
|
||||
}
|
||||
PackData.PCR(currentPacket.getTime() * 27000);
|
||||
}
|
||||
first = false;
|
||||
|
|
Loading…
Add table
Reference in a new issue