mirror of
https://github.com/moonlight-stream/moonlight-chrome.git
synced 2025-08-17 16:46:31 +00:00
fixed JS->CPP message passing bug. Needs strings, ints don't work
This commit is contained in:
parent
4050fe0d3b
commit
f6261d43b4
@ -108,7 +108,7 @@ function startPushed() {
|
|||||||
console.log('startRequest:' + target + ":" + streamWidth + ":" + streamHeight + ":" + frameRate + ":" + bitrate);
|
console.log('startRequest:' + target + ":" + streamWidth + ":" + streamHeight + ":" + frameRate + ":" + bitrate);
|
||||||
|
|
||||||
sendMessage('httpInit', [pairingCert.cert, pairingCert.privateKey, myGuuid]).then(function (ret) {
|
sendMessage('httpInit', [pairingCert.cert, pairingCert.privateKey, myGuuid]).then(function (ret) {
|
||||||
sendMessage('startRequest', [target, streamWidth, streamHeight, frameRate, bitrate]);
|
sendMessage('startRequest', [target, streamWidth, streamHeight, frameRate, bitrate.toString()]);
|
||||||
});
|
});
|
||||||
|
|
||||||
// we just finished the gameSelection section. only expose the NaCl section
|
// we just finished the gameSelection section. only expose the NaCl section
|
||||||
|
Loading…
x
Reference in New Issue
Block a user