Merge branch 'development' into LTS_development
This commit is contained in:
commit
b4741abbc2
4 changed files with 6 additions and 4 deletions
|
@ -451,7 +451,7 @@ namespace Mist {
|
|||
INSANE_MSG("Connected: %d users, %d total", userPage.connectedUsers, userPage.amount);
|
||||
//if not shutting down, wait 1 second before looping
|
||||
if (config->is_active){
|
||||
Util::wait(1000);
|
||||
Util::wait(INPUT_USER_INTERVAL);
|
||||
}
|
||||
}
|
||||
if (streamStatus){streamStatus.mapped[0] = STRMSTAT_SHUTDOWN;}
|
||||
|
|
|
@ -518,7 +518,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