Plumb RTSP session URL into LiStartConnection()

This commit is contained in:
Cameron Gutman
2022-10-31 17:54:09 -05:00
parent fb2258fa34
commit b2bee37fe2
3 changed files with 10 additions and 2 deletions

View File

@@ -711,7 +711,8 @@ function startGame(host, appID) {
}
sendMessage('startRequest', [host.address, streamWidth, streamHeight, frameRate,
bitrate.toString(), rikey, rikeyid.toString(), mouse_lock_enabled, host.appVersion, host.gfeVersion
bitrate.toString(), rikey, rikeyid.toString(), mouse_lock_enabled, host.appVersion, host.gfeVersion,
$root.find('sessionUrl0').text().trim()
]);
}, function(failedResumeApp) {
console.eror('%c[index.js, startGame]', 'color:green;', 'Failed to resume the app! Returned error was' + failedResumeApp);
@@ -748,7 +749,8 @@ function startGame(host, appID) {
}
sendMessage('startRequest', [host.address, streamWidth, streamHeight, frameRate,
bitrate.toString(), rikey, rikeyid.toString(), mouse_lock_enabled, host.appVersion
bitrate.toString(), rikey, rikeyid.toString(), mouse_lock_enabled, host.appVersion,
$root.find('sessionUrl0').text().trim()
]);
}, function(failedLaunchApp) {
console.error('%c[index.js, launchApp]', 'color: green;', 'Failed to launch app width id: ' + appID + '\nReturned error was: ' + failedLaunchApp);