Fixed audio key setting
This commit is contained in:
parent
5a6eaa30ac
commit
2f477a4ef9
3 changed files with 2 additions and 3 deletions
|
@ -453,7 +453,7 @@ namespace Mist {
|
|||
isKeyframe = true;
|
||||
} else {
|
||||
unsigned long lastKey = pagesByTrack[tid].rbegin()->second.lastKeyTime;
|
||||
if (packet.getTime() - lastKey > 5000) {
|
||||
if (packet.getTime() - lastKey > AUDIO_KEY_INTERVAL) {
|
||||
isKeyframe = true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue