Updated default segment size to 1900
This commit is contained in:
parent
775d25947c
commit
2a91a7366b
3 changed files with 6 additions and 6 deletions
|
@ -75,13 +75,13 @@ namespace Mist {
|
|||
option["long"] = "segment-size";
|
||||
option["short"] = "S";
|
||||
option["help"] = "Target time duration in milliseconds for segments";
|
||||
option["value"].append(5000);
|
||||
option["value"].append(1900);
|
||||
config->addOption("segmentsize", option);
|
||||
capa["optional"]["segmentsize"]["name"] = "Segment size (ms)";
|
||||
capa["optional"]["segmentsize"]["help"] = "Target time duration in milliseconds for segments.";
|
||||
capa["optional"]["segmentsize"]["option"] = "--segment-size";
|
||||
capa["optional"]["segmentsize"]["type"] = "uint";
|
||||
capa["optional"]["segmentsize"]["default"] = 5000;
|
||||
capa["optional"]["segmentsize"]["default"] = 1900;
|
||||
option.null();
|
||||
/*LTS-end*/
|
||||
|
||||
|
@ -96,7 +96,7 @@ namespace Mist {
|
|||
singleton = this;
|
||||
bufferTime = 50000;
|
||||
cutTime = 0;
|
||||
segmentSize = 5000;
|
||||
segmentSize = 1900;
|
||||
hasPush = false;
|
||||
resumeMode = false;
|
||||
}
|
||||
|
|
|
@ -48,13 +48,13 @@ namespace Mist {
|
|||
option["long"] = "segment-size";
|
||||
option["short"] = "S";
|
||||
option["help"] = "Target time duration in milliseconds for segments";
|
||||
option["value"].append(5000);
|
||||
option["value"].append(1900);
|
||||
config->addOption("segmentsize", option);
|
||||
capa["optional"]["segmentsize"]["name"] = "Segment size (ms)";
|
||||
capa["optional"]["segmentsize"]["help"] = "Target time duration in milliseconds for segments.";
|
||||
capa["optional"]["segmentsize"]["option"] = "--segment-size";
|
||||
capa["optional"]["segmentsize"]["type"] = "uint";
|
||||
capa["optional"]["segmentsize"]["default"] = 5000;
|
||||
capa["optional"]["segmentsize"]["default"] = 1900;
|
||||
/*LTS-END*/
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue