mirror of
https://github.com/moonlight-stream/moonlight-chrome.git
synced 2025-08-17 16:46:31 +00:00
Quick fix: Updated the remote audio storage log & launch app
This commit is contained in:
parent
12f0be4149
commit
a34a0c492a
@ -601,8 +601,7 @@ function startGame(host, appID) {
|
|||||||
sendMessage('startRequest', [host.address, streamWidth, streamHeight, frameRate,
|
sendMessage('startRequest', [host.address, streamWidth, streamHeight, frameRate,
|
||||||
bitrate.toString(), rikey, rikeyid.toString(), host.appVersion]);
|
bitrate.toString(), rikey, rikeyid.toString(), host.appVersion]);
|
||||||
}, function (failedLaunchApp) {
|
}, function (failedLaunchApp) {
|
||||||
console.log('ERROR: failed to launch app with appID: ' + appID);
|
console.error('%c[index.js, launchApp]','color: green;','Failed to launch app width id: ' + appID + '\nReturned error was: ' + failedLaunchApp);
|
||||||
console.log('Returned error was: ' + failedLaunchApp);
|
|
||||||
return;
|
return;
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -748,7 +747,7 @@ function saveRemoteAudio() {
|
|||||||
// checking the new state
|
// checking the new state
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
var remoteAudioState = $("#remoteAudioEnabledSwitch").parent().hasClass('is-checked');
|
var remoteAudioState = $("#remoteAudioEnabledSwitch").parent().hasClass('is-checked');
|
||||||
console.log('saving remote audio state : ' + remoteAudioState);
|
console.log('%c[index.js, saveRemoteAudio]', 'color: green;', 'Saving remote audio state : ' + remoteAudioState);
|
||||||
storeData('remoteAudio', remoteAudioState, null);
|
storeData('remoteAudio', remoteAudioState, null);
|
||||||
}, 100);
|
}, 100);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user