27 Commits

Author SHA1 Message Date
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
f4d9265712 Add warning if no key frames can be received in 10 seconds 2020-08-29 21:15:05 -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
87f6f14af6 Add connection termination message for unexpected terminations 2019-02-27 00:55:27 -08:00
Cameron Gutman
754173543a Address broken error checking for launch requests and other minor issues 2018-06-12 21:23:24 -07:00
Jorys_Paulin
28a76fa965 Fixed indentation usign atom-beautify 2018-04-24 08:40:39 +02:00
Cameron Gutman
e0c4c01e44 Keep the display awake when streaming. Fixes #325 2017-10-04 19:19:56 -07:00
Paulin Jorys
bdfc115a0a Added basic jsdoc for the messages.js file 2017-07-19 18:08:43 +02:00
Paulin Jorys
6257594085 Inverted order for labels
From "function,filename" to "filename,function"
Added "[filename, function] to messages.js
2017-07-11 13:47:13 +02:00
Paulin Jorys
4108d696e4 Added better console logs 2017-07-11 13:20:01 +02:00
Calcyfer
4cb70901e8 Change the background color to black when the NaCL module is shown 2017-05-02 21:25:09 +02:00
Dmitry Mandrichenko
e9ccbb08d3 Bugfix: window state not restored in normal mode after streaming.
Bugfix: window always run in fullscreen mode when app launched from chrome://apps or chrome://extensions
2017-01-21 04:05:36 +02:00
Dmitry Mandrichenko
5ebcc58ae3 Window state restored with previous saved window state (fullscreen or normal).
Window startup size changed to 16:9 aspect ratio = 960x540.
After closing the game, window restored in previous state.
2016-12-21 08:32:50 +02:00
Cameron Gutman
f9dbf66dc2 Create a function for longer snackbar logs and use it for dialog messages 2016-09-11 23:39:00 -07:00
Cameron Gutman
581f92ee7c Make non-transient message display 2016-09-11 23:16:43 -07:00
R. Aidan Campbell
2df5527cc0 major code refactorings to lower the confusing branching. This is mostly tested, but bugs may have been introduced. Progress on #32 2016-09-03 12:04:46 -04:00
R. Aidan Campbell
0a84d27386 fixed issue with game not being highlighted on exit 2016-07-23 13:58:24 -04:00
Cameron Gutman
3767990bb0 Fix some app list refreshing bugs 2016-07-10 21:31:35 -07:00
Cameron Gutman
6c13c9b67d Only show the NaCl plugin when a frame has been rendered 2016-06-09 13:22:27 -05:00
Cameron Gutman
1f3f4bd0aa Implement fallback to software when hardware decoding is unavailable 2016-06-09 12:23:23 -05:00
Cameron Gutman
b236632ce0 Add a progress message with the indeterminate loading bar 2016-05-09 15:41:04 -04:00
R. Aidan Campbell
09ea7d4b84 Clean the loading bar if the stream fails 2016-05-09 13:20:08 -04:00
R. Aidan Campbell
8f0b911031 Indeterminate loading bar is shown while connecting to stream
- This closes #37
2016-05-09 13:15:49 -04:00
R. Aidan Campbell
35fb2c45ec changed app to open in windowed mode, but stream in fullscreen
- this closes #45
- changed references of 'target' into 'host' as per #41
2016-05-05 17:35:45 -04:00
R. Aidan Campbell
de464802cf cleaned up some unnecessary NvHTTP calls to make things faster 2016-03-13 13:09:09 -04:00
R. Aidan Campbell
617afd2d4f now with a proper UI reset after closing a stream. this closes #19 2016-03-12 19:06:33 -05:00
Gustavo
c420db5373 New message handling, and new NvAPI 2016-02-25 07:58:36 -03:00