Fixed audio key setting

This commit is contained in:
Thulinma 2017-07-22 19:07:16 +02:00
parent 5a6eaa30ac
commit 2f477a4ef9
3 changed files with 2 additions and 3 deletions

View file

@ -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;
}
}