Disallow < 1s buffer for live, set default from the start.
This commit is contained in:
parent
0e55b66e7d
commit
c096450a8f
1 changed files with 2 additions and 1 deletions
|
@ -39,7 +39,7 @@ namespace Mist {
|
|||
capa["codecs"][0u][2u].append("*");
|
||||
isBuffer = true;
|
||||
singleton = this;
|
||||
bufferTime = 0;
|
||||
bufferTime = 50000;
|
||||
cutTime = 0;
|
||||
}
|
||||
|
||||
|
@ -540,6 +540,7 @@ namespace Mist {
|
|||
tmpNum = config->getOption("bufferTime").asInt();
|
||||
}
|
||||
}
|
||||
if (tmpNum < 1000){tmpNum = 1000;}
|
||||
//if the new value is different, print a message and apply it
|
||||
if (bufferTime != tmpNum) {
|
||||
DEBUG_MSG(DLVL_DEVEL, "Setting bufferTime from %u to new value of %lli", bufferTime, tmpNum);
|
||||
|
|
Loading…
Add table
Reference in a new issue