Fixes and improvements to generic push-input handling
This commit is contained in:
parent
7b1652498b
commit
5e2b29466b
5 changed files with 6 additions and 4 deletions
|
@ -1387,6 +1387,7 @@ namespace DTSC {
|
|||
}
|
||||
vod = (packBytePos > 0);
|
||||
live = !vod;
|
||||
EXTREME_MSG("Updating meta with %lld@%lld+%lld", packTrack, packTime, packOffset);
|
||||
if (packTrack > 0 && tracks.count(packTrack)){
|
||||
tracks[packTrack].update(packTime, packOffset, packDataSize, packBytePos, isKeyframe, packSendSize, segment_size);
|
||||
}
|
||||
|
|
|
@ -213,6 +213,8 @@ namespace h264 {
|
|||
unsigned int timeScale = bs.get(32);
|
||||
result.fps = (double)timeScale / (2 * unitsInTick);
|
||||
bs.skip(1);
|
||||
}else{
|
||||
result.fps = 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue