Quick fix: Updated the remote audio storage log & launch app

This commit is contained in:
Paulin Jorys 2017-07-11 16:03:34 +02:00
parent 12f0be4149
commit a34a0c492a

View File

@ -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);
} }