mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2026-02-16 10:30:47 +00:00
Apply the debugging level before starting discovery to prevent info messages from showing up during discovery
This commit is contained in:
@@ -373,13 +373,16 @@ public class Limelight implements NvConnectionListener {
|
||||
Limelight limelight;
|
||||
if (host == null || action.equals("discover")) {
|
||||
limelight = new Limelight();
|
||||
limelight.discover(!action.equals("discover"));
|
||||
} else
|
||||
limelight = new Limelight(host);
|
||||
|
||||
//Set debugging level
|
||||
limelight.setLevel(debug);
|
||||
|
||||
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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user