mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2026-04-06 16:06:02 +00:00
Update to new VideoDecoderRenderer API
This commit is contained in:
@@ -56,7 +56,7 @@ public class Limelight implements NvConnectionListener {
|
||||
/*
|
||||
* Creates a connection to the host and starts up the stream.
|
||||
*/
|
||||
private void startUp(StreamConfiguration streamConfig, List<String> inputs, String mappingFile, String audioDevice, boolean tests, boolean debug) {
|
||||
private void startUp(StreamConfiguration streamConfig, List<String> inputs, String mappingFile, String audioDevice, boolean tests) {
|
||||
if (tests) {
|
||||
boolean test = true;
|
||||
String vm = System.getProperties().getProperty("java.vm.name");
|
||||
@@ -105,7 +105,7 @@ public class Limelight implements NvConnectionListener {
|
||||
conn.start(PlatformBinding.getDeviceName(), null,
|
||||
VideoDecoderRenderer.FLAG_PREFER_QUALITY,
|
||||
PlatformBinding.getAudioRenderer(audioDevice),
|
||||
PlatformBinding.getVideoDecoderRenderer(debug));
|
||||
PlatformBinding.getVideoDecoderRenderer());
|
||||
}
|
||||
|
||||
/*
|
||||
@@ -405,7 +405,7 @@ public class Limelight implements NvConnectionListener {
|
||||
if (action.equals("fake"))
|
||||
limelight.startUpFake(streamConfig, video);
|
||||
else
|
||||
limelight.startUp(streamConfig, inputs, mapping, audio, tests, debug.intValue() <= Level.WARNING.intValue());
|
||||
limelight.startUp(streamConfig, inputs, mapping, audio, tests);
|
||||
} else if (action.equals("pair"))
|
||||
limelight.pair();
|
||||
else if (action.equals("list"))
|
||||
|
||||
Reference in New Issue
Block a user