Commit graph

170 commits

Author SHA1 Message Date
sergystepanov
fd596fa85f Reformat api.js 2026-06-04 22:36:30 +03:00
sergystepanov
f50b37c11f Update webrtc.js 2026-06-04 22:36:30 +03:00
sergystepanov
2273fe393f Add IceRestart stub 2026-06-04 22:36:30 +03:00
sergystepanov
65d74bb769 Move MediaStream element to WebRTC start options 2026-06-04 22:36:30 +03:00
sergystepanov
b7bd198a8e Reformat app.js 2026-06-04 22:36:30 +03:00
sergystepanov
6a03b65e42 Update webrtc.js 2026-06-04 22:36:30 +03:00
sergystepanov
edb92b8993 Change predefined datachannels to callbacks 2026-06-04 22:36:30 +03:00
sergystepanov
de24654ca8 Use direct FlushCandidates instead of global messaging 2026-06-04 22:36:30 +03:00
sergystepanov
dae0b62eb0 Clean webrtc module 2026-06-04 22:36:30 +03:00
sergystepanov
00b52dde8d Reformat webrtc.js 2026-06-04 22:36:29 +03:00
sergystepanov
d42ad68ef3 Add api base64 decoder 2026-06-04 22:36:29 +03:00
sergystepanov
8faa698edc Flush ICE candidates only once 2026-06-04 22:36:29 +03:00
sergystepanov
e6258f11a1 Add readable message logging 2026-06-04 22:36:29 +03:00
sergystepanov
98449d0099 Remove WS message logging 2026-06-01 14:00:22 +03:00
sergystepanov
92f3e6378f Update WebRTC module state logging 2026-06-01 13:56:17 +03:00
sergystepanov
4c699d634b Inline start/stop webrtc methods 2026-06-01 13:45:02 +03:00
sergystepanov
440102fc1b Add more debug methods to WebRTC module 2026-06-01 12:12:26 +03:00
sergystepanov
42c088a0d9 Add navigator.keyboard null check
Browser can have a null keyboard property, so we need to check for nullability.
2026-03-10 10:09:28 +03:00
sergystepanov
dfcf96e947 Update mouse input 2025-12-30 19:53:33 +03:00
sergystepanov
9e6efc2319 Update retropad input 2025-12-30 14:36:48 +03:00
sergystepanov
817a19c757 Fix the circle-pad's roundness 2025-05-16 12:15:37 +03:00
sergystepanov
b02cd5c4f0
It is time to update the copyright year 2025-01-04 10:41:51 +03:00
Sergey Stepanov
297ec9005c
Display video scaling info 2024-12-05 01:35:48 +03:00
Sergey Stepanov
954bb23bb8
Add Reset with 0 key 2024-12-03 00:38:15 +03:00
Sergey Stepanov
6de1828ffe Wait user click when autoplay fails 2024-11-29 14:51:33 +03:00
Sergey Stepanov
68acb5d790
Show worker tags in manager 2024-11-17 21:24:08 +03:00
Sergey Stepanov
2ef1a93eaf
Add playsinline video attribute for Safari 2024-10-23 12:25:29 +03:00
Sergey Stepanov
0d8db25c3c
Change the video dimensions when playing 2024-09-28 00:30:50 +03:00
Sergey Stepanov
a67a077024
Fix env functions 2024-09-16 21:45:06 +03:00
Sergey Stepanov
bdf3598367 Add game aliases
Allows different game names to be set in the alias.txt file [as name=alias] located in the games directory.
2024-08-31 22:29:31 +03:00
Sergey Stepanov
7ee98c1b03 Add keyboard and mouse support
Keyboard and mouse controls will now work if you use the kbMouseSupport parameter in the config for Libretro cores. Be aware that capturing mouse and keyboard controls properly is only possible in fullscreen mode.

Note: In the case of DOSBox, a virtual filesystem handler is not yet implemented, thus each game state will be shared between all rooms (DOS game instances) of CloudRetro.
2024-08-02 11:04:44 +03:00
Sergey Stepanov
b755bcd1bf Use <video> play listener instead of canplay 2024-04-22 18:10:35 +03:00
Sergey Stepanov
a013192bf8 Clean webrtc.js 2024-04-22 11:47:46 +03:00
Sergey Stepanov
dceb6f9993 Reuse retropad poll fn 2024-04-22 11:45:07 +03:00
Sergey Stepanov
d922e58278 Fix UI 2024-04-22 11:43:38 +03:00
Sergey Stepanov
22d1bd7620 Add screen component 2024-04-07 00:20:47 +03:00
Sergey Stepanov
effa5c46c5
Update UA/PLT detection 2024-04-03 19:52:42 +03:00
Sergey Stepanov
cebbcdf256 Refactor WebRTC stats 2024-04-02 21:10:05 +03:00
Sergey Stepanov
ecbe7f6ad9
Remove unused ping stats module 2024-03-31 21:22:41 +03:00
Sergey Stepanov
5da77a6b4f
Fix aspect ratio of PSX games in full-screen 2024-03-21 23:02:53 +03:00
Sergey Stepanov
104498dec0
Fix wrong import order of some modules 2024-03-18 13:45:01 +03:00
Sergey Stepanov
8654604b9b Fix index.html warnings 2024-03-17 22:09:43 +03:00
Sergey Stepanov
2bc64a3be8 Migrate from IIFE to modern ES modules
These modules should be supported by all contemporary browsers, and this transition should resolve most issues related to the explicit import order of the .js files.
2024-03-17 22:09:43 +03:00
Sergey Stepanov
47bd72e1cd
Fix broken options button 2024-03-16 13:15:05 +03:00
Sergey Stepanov
29eedee3ec
Fix keybindings for options 2024-03-15 14:38:30 +03:00
Sergey Stepanov
a349fdd0cf Add 'force full-screen' option 2024-03-14 12:24:39 +03:00
Sergey Stepanov
cf5248ec54 Fix missing gameList transition handler 2024-03-14 12:24:39 +03:00
Sergey Stepanov
4fc53e7220 Update options UI 2024-03-14 12:24:39 +03:00
Sergey Stepanov
72e846894e
Use case-insensitive sort for games 2024-03-07 23:18:42 +03:00
Sergey Stepanov
84d2261391
Don't stretch portrait games 2024-03-07 17:25:26 +03:00