|
|
|
|
@ -249,6 +249,11 @@ else if (args[i].equals("--multiple") || args[i].equals("-m"))
|
|
|
|
|
returnAction = ACTION_CONTINUE_LOCK_DISABLED;
|
|
|
|
|
continue;
|
|
|
|
|
}
|
|
|
|
|
else if (args[i].equals("--desktop-stream") || args[i].equals("-s"))
|
|
|
|
|
{
|
|
|
|
|
handleDesktopStreaming();
|
|
|
|
|
break;
|
|
|
|
|
}
|
|
|
|
|
//if this is the last arg and it's not an option then it's probably
|
|
|
|
|
//an URI
|
|
|
|
|
else if ( i == args.length - 1
|
|
|
|
|
@ -288,6 +293,14 @@ private void handleIPv4Enforcement()
|
|
|
|
|
System.setProperty("java.net.preferIPv6Addresses", "false");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Allows to use desktop streaming as video device.
|
|
|
|
|
*/
|
|
|
|
|
private void handleDesktopStreaming()
|
|
|
|
|
{
|
|
|
|
|
System.setProperty("net.java.sip.communicator.impl.neomedia.imgstreaming", "true");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Passes <tt>uriArg</tt> to our uri manager for handling.
|
|
|
|
|
*
|
|
|
|
|
@ -444,6 +457,7 @@ public void handleHelpArg()
|
|
|
|
|
System.out.println(" -m, --multiple do not ensure single instance");
|
|
|
|
|
System.out.println(" -6, --ipv6 prefer IPv6 addresses where possible only");
|
|
|
|
|
System.out.println(" -4, --ipv4 forces use of IPv4 only");
|
|
|
|
|
System.out.println(" -s, --desktop-stream use desktop streaming");
|
|
|
|
|
System.out.println(" -v, --version display the current version and exit");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|