mirror of
https://github.com/tonikelope/megabasterd.git
synced 2025-05-29 13:00:15 +02:00
2.56
This commit is contained in:
parent
8d6579a199
commit
f59b0d217f
@ -45,7 +45,7 @@ public final class Download implements Transference, Runnable, SecureSingleThrea
|
||||
|
||||
public static final boolean VERIFY_CBC_MAC_DEFAULT = false;
|
||||
public static final boolean USE_SLOTS_DEFAULT = false;
|
||||
public static final int WORKERS_DEFAULT = 6;
|
||||
public static final int WORKERS_DEFAULT = 8;
|
||||
public static final boolean USE_MEGA_ACCOUNT_DOWN = false;
|
||||
public static final int CHUNK_SIZE_MULTI = 10;
|
||||
|
||||
|
@ -100,7 +100,7 @@ public final class KissVideoStreamServer implements HttpHandler, SecureSingleThr
|
||||
|
||||
swingReflectionInvoke("setForeground", _main_panel.getView().getKiss_server_status(), new Color(0, 128, 0));
|
||||
|
||||
swingReflectionInvoke("setText", _main_panel.getView().getKiss_server_status(), "Stream server running on localhost:" + STREAMER_PORT + " (Waiting for request...)");
|
||||
swingReflectionInvokeAndWait("setText", _main_panel.getView().getKiss_server_status(), "Stream server running on localhost:" + STREAMER_PORT + " (Waiting for request...)");
|
||||
|
||||
HttpServer httpserver = HttpServer.create(new InetSocketAddress(InetAddress.getLoopbackAddress(), port), 0);
|
||||
|
||||
|
@ -45,7 +45,7 @@ import org.apache.http.auth.UsernamePasswordCredentials;
|
||||
*/
|
||||
public final class MainPanel {
|
||||
|
||||
public static final String VERSION = "2.55";
|
||||
public static final String VERSION = "2.56";
|
||||
public static final int THROTTLE_SLICE_SIZE = 16 * 1024;
|
||||
public static final int DEFAULT_BYTE_BUFFER_SIZE = 16 * 1024;
|
||||
public static final int STREAMER_PORT = 1337;
|
||||
@ -781,6 +781,8 @@ public final class MainPanel {
|
||||
|
||||
swingReflectionInvoke("setVisible", getView(), true);
|
||||
|
||||
getView().repaint();
|
||||
|
||||
}
|
||||
});
|
||||
|
||||
@ -809,7 +811,9 @@ public final class MainPanel {
|
||||
if (!(boolean) swingReflectionInvokeAndWaitForReturn("isVisible", getView())) {
|
||||
swingReflectionInvoke("setExtendedState", getView(), NORMAL);
|
||||
swingReflectionInvoke("setVisible", getView(), true);
|
||||
getView().repaint();
|
||||
} else {
|
||||
|
||||
swingReflectionInvoke("dispatchEvent", getView(), new WindowEvent(getView(), WINDOW_CLOSING));
|
||||
}
|
||||
}
|
||||
|
@ -25,7 +25,7 @@ import static megabasterd.MiscTools.*;
|
||||
public final class Upload implements Transference, Runnable, SecureSingleThreadNotifiable {
|
||||
|
||||
public static final boolean USE_SLOTS_DEFAULT = false;
|
||||
public static final int WORKERS_DEFAULT = 6;
|
||||
public static final int WORKERS_DEFAULT = 8;
|
||||
private final MainPanel _main_panel;
|
||||
private volatile UploadView _view;
|
||||
private volatile ProgressMeter _progress_meter;
|
||||
|
Loading…
x
Reference in New Issue
Block a user