have default segment size be used for buffer, dtsc and ts inputs
This commit is contained in:
parent
0783c11663
commit
f384a69b71
3 changed files with 6 additions and 6 deletions
|
@ -105,13 +105,13 @@ namespace Mist{
|
|||
option["long"] = "segment-size";
|
||||
option["short"] = "S";
|
||||
option["help"] = "Target time duration in milliseconds for segments";
|
||||
option["value"].append(1900);
|
||||
option["value"].append(DEFAULT_FRAGMENT_DURATION);
|
||||
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"] = 1900;
|
||||
capa["optional"]["segmentsize"]["default"] = DEFAULT_FRAGMENT_DURATION;
|
||||
|
||||
capa["optional"]["fallback_stream"]["name"] = "Fallback stream";
|
||||
capa["optional"]["fallback_stream"]["help"] =
|
||||
|
@ -131,7 +131,7 @@ namespace Mist{
|
|||
"streams from everyone, based on a set password, and/or use hostname/IP whitelisting.";
|
||||
bufferTime = 50000;
|
||||
cutTime = 0;
|
||||
segmentSize = 1900;
|
||||
segmentSize = DEFAULT_FRAGMENT_DURATION;
|
||||
hasPush = false;
|
||||
everHadPush = false;
|
||||
resumeMode = false;
|
||||
|
|
|
@ -52,13 +52,13 @@ namespace Mist{
|
|||
option["long"] = "segment-size";
|
||||
option["short"] = "S";
|
||||
option["help"] = "Target time duration in milliseconds for segments";
|
||||
option["value"].append(1900);
|
||||
option["value"].append(DEFAULT_FRAGMENT_DURATION);
|
||||
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"] = 1900;
|
||||
capa["optional"]["segmentsize"]["default"] = DEFAULT_FRAGMENT_DURATION;
|
||||
/*LTS-END*/
|
||||
|
||||
F = NULL;
|
||||
|
|
|
@ -241,7 +241,7 @@ namespace Mist{
|
|||
capa["optional"]["segmentsize"]["name"] = "Segment size (ms)";
|
||||
capa["optional"]["segmentsize"]["help"] = "Target time duration in milliseconds for segments.";
|
||||
capa["optional"]["segmentsize"]["type"] = "uint";
|
||||
capa["optional"]["segmentsize"]["default"] = 1900;
|
||||
capa["optional"]["segmentsize"]["default"] = DEFAULT_FRAGMENT_DURATION;
|
||||
|
||||
capa["optional"]["datatrack"]["name"] = "MPEG Data track parser";
|
||||
capa["optional"]["datatrack"]["help"] = "Which parser to use for data tracks";
|
||||
|
|
Loading…
Add table
Reference in a new issue