if (limelight.host == null) {
limelight.discover(!action.equals("discover"));
}
if (action.equals("stream") || action.equals("fake")) {
StreamConfiguration streamConfig = new StreamConfiguration(app, width, height, refresh, bitrate, sops, false);
if (action.equals("fake"))
limelight.startUpFake(streamConfig, video);
else
limelight.startUp(streamConfig, inputs, mapping, audio, tests, debug.intValue() <= Level.WARNING.intValue());