Implemented minKeepAway for HLS live input
This commit is contained in:
parent
b0c7897568
commit
baca95f0bf
1 changed files with 2 additions and 0 deletions
|
@ -460,6 +460,8 @@ INFO_MSG("parsestream");
|
||||||
if (!hasHeader &&
|
if (!hasHeader &&
|
||||||
(!myMeta.tracks.count(packetId) || !myMeta.tracks[packetId].codec.size())){
|
(!myMeta.tracks.count(packetId) || !myMeta.tracks[packetId].codec.size())){
|
||||||
tsStream.initializeMetadata(myMeta, tmpTrackId, packetId);
|
tsStream.initializeMetadata(myMeta, tmpTrackId, packetId);
|
||||||
|
myMeta.tracks[packetId].minKeepAway = pListIt->waitTime * 2000;
|
||||||
|
FAIL_MSG("setting minKeepAway = %d for track: %d", myMeta.tracks[packetId].minKeepAway, packetId);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue