249 Commits

Author SHA1 Message Date
utopiafallen
dccd8ec7ef Fix black screen when starting game stream
Adding fullscreen class to the #listener seems to fix the game stream
getting stuck in a black screen. I suspect that #main-content isn't
recomputing its layout when #listener is resized.
2022-11-06 19:58:35 -06:00
utopiafallen
eb458c1ad2 Remove explicit fullscreen handling
Moonlight's fullscreen requests generally conflict with
what ChromeOS is trying to do automatically for the app, especially when
using tablet mode. Just remove it for now and let the OS handle
fullscreen.
2022-11-06 19:58:35 -06:00
bob
aaa1ca7079 Added controller rumble support.
Pepper SDK and NaCl in general is EOL for Chrome, although still supported for Chrome Apps.
This means that the Pepper Gamepad API was never updated with rumble support so in order
to add rumble support, rumble messages from Gamestream have to be forwarded to JavaScript
and handled with gamepad.vibrationActuator.playEffect().

Side note, Chrome limits the duration of playEffect to 5 seconds and requesting more than
that causes the vibration request to be rejected.
2022-11-06 19:58:35 -06:00
Cameron Gutman
6c47627f85 Fix typo in error path 2022-10-31 18:15:36 -05:00
Cameron Gutman
f16299ebcc Fix passing GFE version to LiStartConnection() 2022-10-31 18:00:04 -05:00
Cameron Gutman
b2bee37fe2 Plumb RTSP session URL into LiStartConnection() 2022-10-31 17:54:09 -05:00
tomciaaa
765e104cb3
Make mouse locking optional (#518)
Co-authored-by: tomciaaa <tomciaaa@chromebook>
2022-07-04 18:30:08 -05:00
Cameron Gutman
f4d9265712 Add warning if no key frames can be received in 10 seconds 2020-08-29 21:15:05 -07:00
Cameron Gutman
f5788296ac Use getRandomValues() for PIN, key, and IV 2020-07-12 12:11:17 -07:00
Cameron Gutman
8a962927ed Add a friendly error message when no video traffic is received 2020-05-01 21:34:25 -07:00
Cameron Gutman
733d27ed9e Add special error text for the -1 launch error code 2020-04-25 16:16:52 -07:00
Cameron Gutman
3c3f207963 Add a friendly pairing error for being in game 2019-09-14 15:05:21 -07:00
Cameron Gutman
87f6f14af6 Add connection termination message for unexpected terminations 2019-02-27 00:55:27 -08:00
Cameron Gutman
9738b1bbc2 Add GfeVersion to start parameters 2019-02-27 00:08:57 -08:00
Cameron Gutman
02edd06b63 Use shared UID for all Moonlight clients 2018-12-24 18:49:42 -08:00
Cameron Gutman
db49a33a0f Fix propagation of PPK after pairing via Add PC and a couple launch cosmetic issues 2018-12-24 18:39:22 -08:00
Cameron Gutman
d19bc0ca7d Fix adding PCs that are already paired 2018-12-24 18:13:31 -08:00
Cameron Gutman
0ddf07f4de Require cert pinning for HTTPS 2018-12-24 17:48:01 -08:00
Cameron Gutman
e6f4247ae8 Batch mDNS discovery callbacks to every 500 ms 2018-11-17 13:17:55 -08:00
Cameron Gutman
9536c3f8c8 Save hosts when a new host is discovered via mDNS 2018-11-17 12:05:08 -08:00
Cameron Gutman
4613d4977c Add automatic detection of WAN IP address 2018-11-17 11:27:59 -08:00
Cameron Gutman
754173543a Address broken error checking for launch requests and other minor issues 2018-06-12 21:23:24 -07:00
Cameron Gutman
75d43124ab Ensure the host PC exists before starting polling 2018-06-12 19:35:20 -07:00
Jorys_Paulin
744ff01e64 Revert "Removed unused gameList and gameSelection ids"
This reverts commit 34b6004ad3e612892391ab4b1537274d78802193.
2018-06-12 12:56:45 +02:00
Jorys_Paulin
5a30f4c983 Added "Running" title when hovering running game 2018-06-09 10:45:27 +02:00
Jorys_Paulin
34b6004ad3 Removed unused gameList and gameSelection ids 2018-06-08 18:36:46 +02:00
Jorys_Paulin
9457304ad3 Added native classList to backgroundPoll 2018-06-05 18:36:38 +02:00
Jorys_Paulin
7c48586394 Added keyboard support on games list 2018-06-05 16:49:47 +02:00
Jorys_Paulin
84e1cb80e1 Removed Jquery from game list generation 2018-06-03 17:10:16 +02:00
Jorys Paulin
c48a1d8adc Fixed a duplication bug 2018-05-05 22:05:32 +02:00
Jorys_Paulin
7815f3fa5f Added graphic when gamelist empty 2018-05-05 21:51:50 +02:00
Jorys_Paulin
3234ffd4ea Added graphic when gamelist error 2018-05-05 16:52:25 +02:00
Jorys_Paulin
c15ddb8597 Added error when failed to get gamelist 2018-05-04 18:35:19 +02:00
Jorys_Paulin
29a105d016 Replaced error box art with new one + lazyload 2018-05-03 14:09:01 +02:00
Jorys_Paulin
447ab4a74c Simplified the stylizeBoxArt function 2018-05-01 22:25:25 +02:00
Jorys_Paulin
492ee0dc61 Added message when gamelist empty 2018-05-01 09:50:51 +02:00
Jorys_Paulin
78c32035f8 Added fade-in for images 2018-04-30 17:11:30 +02:00
Jorys_Paulin
28a76fa965 Fixed indentation usign atom-beautify 2018-04-24 08:40:39 +02:00
Jorys_Paulin
28f0200c7f Lazy-load albums 2018-04-23 20:48:23 +02:00
Cameron Gutman
80d9dc7c77 Remove usage of deleted function 2018-03-28 01:25:22 -07:00
Cameron Gutman
35720d0e8e Ensure revived hosts have a valid unique ID 2018-03-28 01:13:42 -07:00
Cameron Gutman
ddd7310e38 Avoid racing reads from storage that could cause pairing data to be wiped 2018-03-28 00:33:41 -07:00
Cameron Gutman
6c457fe56d Rewrite box art loading to load directly from chrome.storage for a huge speed improvement 2018-03-28 00:32:51 -07:00
Cameron Gutman
fdcd3d4747 Send attached gamepads at launch to fix L4D2 2018-01-20 15:08:36 -08:00
R. Aidan Campbell
178a5452d4 Merge pull request #337 from ryanomackey/master
feat(index.js): sort titles alphabetically
2017-10-22 13:09:33 -07:00
R. Aidan Campbell
331ec26530 Merge pull request #330 from moonlight-stream/nacl_logging
Nacl logging
2017-10-22 13:06:56 -07:00
Cameron Gutman
19dc99b425 Update for GFE 3.10 2017-10-17 00:04:19 -07:00
Ryan Mackey
9527750205 feat(index.js): sort titles alphabetically 2017-10-16 22:53:54 -05:00
R. Aidan Campbell
7a6ed6da57 minor bugfixes in logging 2017-10-07 14:14:37 -07:00
R. Aidan Campbell
7e1dd5d30a Covered NaCl module loading with logging statements 2017-10-07 14:00:14 -07:00