fixed JS->CPP message passing bug. Needs strings, ints don't work

This commit is contained in:
R. Aidan Campbell 2016-03-10 22:49:02 -05:00
parent 4050fe0d3b
commit f6261d43b4

View File

@ -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