Commit graph

91 commits

Author SHA1 Message Date
giongto35
e034de5b2c Update Google Analytic 2019-08-04 17:31:48 +08:00
giongto35
c7caa87624 Integrate with RetroArch to have Universal emulator. (#64)
* WIP

* Add libretro

* Update input retro

* Update cloud retro input:

* Integrate libretro remove GL

* Launch emulator by game type

* Save and load

* Update deeplink to game directly

* Done channel for naemulator

* each server handle only one session

* Only provide available clients

* Emulator based on game

* Remove all OpenGL related

* Retroarch audio

* Audio encoding mono

* Experiment with libretro audio

* Audio without datachannel

* Audio opus internal

* Remove unnecessary code

* Resampled

* Limit time frame

* Start Room and Audio by game

* Dynamic video image allocation

* Dynamic Video buffer allocation based on video resolution

* Move encoder to room

* width and height from emulator

* Padding images to fix multipler of 64

* Remove OpenGL

* Remove Open AL

* Remove OpenGL from Go mod

* Move away nanoarch logic in naemulator

* Remove unecessary savefiles.go

* Optimize Docker for caching

* Update ReadME

* Update README to introduce Retro

* Update README

* Update README.md
2019-08-02 22:06:26 +08:00
giongto35
dda0f1b446 Update to pion 2.0.23 + logic to skip private IP (#61)
* Remove unnecessary comments

* Update find best server by latencies

* Update README.md
2019-06-22 17:45:17 +08:00
giongto35
fafae16756 Match best worker based on latency + Experiment with Singapore Host (#60)
* Add echo endpoint

* Fix async

* Use latency map

* Only start webRTC after worker match

* Experiment with Singapore server

* Update comments
2019-06-21 03:47:35 +08:00
giongto35
e33126c67c Remove logging address 2019-06-20 00:03:52 +08:00
giongto35
2fa3405f2e Force update ws.js 2019-06-19 04:31:09 +08:00
giongto35
0bc8ce03f2 Find nearest sever 2019-06-19 04:31:09 +08:00
trichimtrich
37ef039066 purge temporary cache 2019-06-10 23:57:38 +08:00
trichimtrich
c66f489c3f add ribbon 2019-06-10 23:53:52 +08:00
giongto35
b520dd19f3 Join room directly (#53) 2019-06-09 15:34:11 +08:00
giongto35
5063342277 Join room directly (#52)
* Update ws.js

* Start game directly

* Fix autoplay bug

* Return with value
2019-06-09 04:38:44 +08:00
giongto35
fd930a4d4a Update help button 2019-06-08 23:44:54 +08:00
giongto35
3b54449426 Add opengraph screenshot 2019-06-08 14:09:53 +08:00
giongto35
4d0766555d Update ogimage 2019-06-08 13:02:07 +08:00
giongto35
7d2bd2f698 Use audioReady 2019-06-07 22:50:46 +08:00
giongto35
5f373c932f Update README + quit force reload 2019-06-07 21:55:37 +08:00
giongto35
6b3545efc0 Close input chan after quit game 2019-06-06 23:14:29 +08:00
giongto35
2a27b7f0e2 Disable double tab to zoom on mobile 2019-06-02 23:23:05 +08:00
giongto35
2d3daa2ade Update turn by location (#46)
* Config STUN by server

* Move ice timeout log under condition

* STUN TURN defaut when give empty string

* Update git ignore to ignore prod file

* Update readme
2019-05-30 22:39:52 +08:00
giongto35
d57e500818 300th commit: Update REAME + ice timeout 2019-05-29 01:41:54 +08:00
giongto35
e4963c4446 Add IPV4 stun 2019-05-28 03:00:25 +08:00
giongto35
da292a4e33 Add help overlay, Fix joystick, Update comment (#45)
* add help overlay, fix joystick

* Remove icecandidate in connectionState

* UPgrade turn server

* Update README

* Update README

* Update readme
2019-05-27 19:31:07 +08:00
giongto35
aa6dfcb7f8 Fix icecandidate setup (#44)
* Use own stun server

* Add ice candidate

* Add turn server

* Up main_test

* Fix datachannel negotiated
2019-05-26 22:18:41 +08:00
giongto35
3f61637337 Use google stun only (#43) 2019-05-26 04:45:12 +08:00
giongto35
77b163c621 Fix screen flow (#40)
* Fix screen flow

* Update ice state
2019-05-25 14:14:14 +08:00
trichimtrich
4721db201e Update new frontend (#38)
* WIP

* fix crlf

* fix crlf

* new gesture, menu, tooltip, share

* WIP share

* clear dusties and put magic

* oops

* Remove fade

* Update js behaviour
2019-05-25 13:16:32 +08:00
giongto35
3c811bc259 Fix front-end (#36)
* Change join to start

* Unorder data channel

* GC after room close

* Update Frontend

* Remove fade in fadeout
2019-05-25 02:39:00 +08:00
giongto35
3c96be3db7 Add stun list 2019-05-24 23:24:00 +08:00
giongto35
ea773239c0 Change join to start 2019-05-23 01:53:29 +08:00
giongto35
4cfa0b332b Update readme overlord (#33)
* Update readme for release

* Update readme

* Update design Doc overlord flow
2019-05-21 23:30:22 +08:00
giongto35
38bbd16a83 Merge branch 'master' of github.com:giongto35/cloud-game 2019-05-18 02:50:52 +08:00
giongto35
b0f4bc2836 Quit room 2019-05-18 02:50:25 +08:00
trichimtrich
a598570f69 remove minimum bound of screen 2019-05-17 22:31:10 +08:00
giongto35
a7e94e7007 Remove room ID after quit 2019-05-17 03:29:21 +08:00
giongto35
1fcdab3d19 Merge branch 'master' into fix-sdp 2019-05-17 02:31:13 +08:00
trichimtrich
8309be740c fix touch gesture 2019-05-16 01:23:48 +08:00
hasagi
abc8a317c4 WIP 2019-05-15 19:05:10 +08:00
trichimtrich
859498912d WIP 2019-05-15 12:13:06 +08:00
giongto35
ad88c6e706 Add iceCandidates logic 2019-05-15 02:14:24 +08:00
trichimtrich
f8606baf51 Merge branch 'master' into frontend2 2019-05-15 02:10:18 +08:00
trichimtrich
bd50d66e86 WIP 2019-05-15 02:08:58 +08:00
trichimtrich
6122deab8b WIP 2019-05-14 14:13:36 +08:00
giongto35
4186b7b8d2 Maintain connection from browser 2019-05-13 23:34:06 +08:00
uxer
9c2b9929bb funtional touch 2019-04-30 08:35:17 +07:00
uxer
c95002dbdc WIP 2019-04-30 08:11:41 +07:00
uxer
fb00cfde90 add multi layout gamepad 2019-04-29 19:38:51 +07:00
uxer
5e87894dd8 WIP 2019-04-29 10:44:22 +07:00
giongto35
1f06548ce3 Add game list 2019-04-25 02:18:32 +08:00
trichimtrich
517df7d0d8 audio channel unordered + unreliable buffer 2019-04-23 04:49:43 +08:00
trichimtrich
1cad226963 merge master 2019-04-23 03:52:38 +08:00