Pro version equivalent of recent free version changes.
This commit is contained in:
parent
d8051984f2
commit
c8d1c2006e
6 changed files with 6 additions and 6 deletions
|
@ -203,7 +203,7 @@ namespace Analysers {
|
|||
|
||||
|
||||
int main(int argc, char ** argv){
|
||||
Util::Config conf = Util::Config(argv[0], PACKAGE_VERSION);
|
||||
Util::Config conf = Util::Config(argv[0]);
|
||||
conf.parseArgs(argc, argv);
|
||||
return Analysers::analyseRTP();
|
||||
}
|
||||
|
|
|
@ -190,7 +190,7 @@ namespace RtspRtp{
|
|||
|
||||
|
||||
int main(int argc, char ** argv){
|
||||
Util::Config conf = Util::Config(argv[0], PACKAGE_VERSION);
|
||||
Util::Config conf = Util::Config(argv[0]);
|
||||
conf.addOption("url",JSON::fromString("{\"arg\":\"string\",\"short\":\"u\",\"long\":\"url\",\"help\":\"URL To get.\", \"default\":\"rtsp://localhost/s1k\"}"));
|
||||
conf.parseArgs(argc, argv);
|
||||
return RtspRtp::analyseRtspRtp(conf.getString("url"));
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
|
||||
/// Will emulate a given amount of clients in the statistics.
|
||||
int main(int argc, char ** argv){
|
||||
Util::Config conf = Util::Config(argv[0], PACKAGE_VERSION);
|
||||
Util::Config conf = Util::Config(argv[0]);
|
||||
conf.addOption("clients", JSON::fromString("{\"arg\":\"num\", \"short\":\"c\", \"long\":\"clients\", \"default\":1000, \"help\":\"Amount of clients to emulate.\"}"));
|
||||
conf.addOption("stream", JSON::fromString("{\"arg\":\"string\", \"short\":\"s\", \"long\":\"stream\", \"default\":\"test\", \"help\":\"Streamname to pretend to request.\"}"));
|
||||
conf.addOption("up", JSON::fromString("{\"arg\":\"string\", \"short\":\"u\", \"long\":\"up\", \"default\":131072, \"help\":\"Bytes per second upstream.\"}"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue