|
|
@ -255,7 +255,7 @@ int main(int argc, char** argv)
|
|
|
|
|
|
|
|
|
|
|
|
// decode parameters
|
|
|
|
// decode parameters
|
|
|
|
int c = 0;
|
|
|
|
int c = 0;
|
|
|
|
while ((c = getopt (argc, argv, "v::Q:O:b:" "I:P:p:m:u:M:ct:S::" "R:U:" "rwBsf::F:W:H:G:" "A:C:a:" "Vh")) != -1)
|
|
|
|
while ((c = getopt (argc, argv, "v::Q:O:b:" "I:P:p:m::u:M:ct:S::" "R:U:" "rwBsf::F:W:H:G:" "A:C:a:" "Vh")) != -1)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
switch (c)
|
|
|
|
switch (c)
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -269,7 +269,7 @@ int main(int argc, char** argv)
|
|
|
|
case 'P': rtspPort = atoi(optarg); break;
|
|
|
|
case 'P': rtspPort = atoi(optarg); break;
|
|
|
|
case 'p': rtspOverHTTPPort = atoi(optarg); break;
|
|
|
|
case 'p': rtspOverHTTPPort = atoi(optarg); break;
|
|
|
|
case 'u': url = optarg; break;
|
|
|
|
case 'u': url = optarg; break;
|
|
|
|
case 'm': multicast = true; murl = optarg; break;
|
|
|
|
case 'm': multicast = true; murl = optarg ? optarg : murl; break;
|
|
|
|
case 'M': multicast = true; maddr = optarg; break;
|
|
|
|
case 'M': multicast = true; maddr = optarg; break;
|
|
|
|
case 'c': repeatConfig = false; break;
|
|
|
|
case 'c': repeatConfig = false; break;
|
|
|
|
case 't': timeout = atoi(optarg); break;
|
|
|
|
case 't': timeout = atoi(optarg); break;
|
|
|
|