Commit graph

90 commits

Author SHA1 Message Date
giongto35
ad82e22cfc
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
15aec27d1c
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
b46cd694c9
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
805845d738 Remove logging address 2019-06-20 00:03:52 +08:00
giongto35
83cef66cd5 Force update ws.js 2019-06-19 04:31:09 +08:00
giongto35
e05e7e2b09 Find nearest sever 2019-06-19 04:31:09 +08:00
trichimtrich
bf12c4bf33 purge temporary cache 2019-06-10 23:57:38 +08:00
trichimtrich
3d5206fcc4 add ribbon 2019-06-10 23:53:52 +08:00
giongto35
d5e2172824
Join room directly (#53) 2019-06-09 15:34:11 +08:00
giongto35
7c931571b6
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
684785ae71 Update help button 2019-06-08 23:44:54 +08:00
giongto35
5057e67066 Add opengraph screenshot 2019-06-08 14:09:53 +08:00
giongto35
10381eb9d4 Update ogimage 2019-06-08 13:02:07 +08:00
giongto35
bef09cf5df Use audioReady 2019-06-07 22:50:46 +08:00
giongto35
8bfba8168b Update README + quit force reload 2019-06-07 21:55:37 +08:00
giongto35
713de84dc2 Close input chan after quit game 2019-06-06 23:14:29 +08:00
giongto35
baa36d6cea Disable double tab to zoom on mobile 2019-06-02 23:23:05 +08:00
giongto35
fcd30ac14f
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
a9b4e310a6 300th commit: Update REAME + ice timeout 2019-05-29 01:41:54 +08:00
giongto35
34995a5d1d Add IPV4 stun 2019-05-28 03:00:25 +08:00
giongto35
7ac472e0bd
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
6607e0fc88
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
e3cda5d3b0
Use google stun only (#43) 2019-05-26 04:45:12 +08:00
giongto35
1d0bcfdfc5
Fix screen flow (#40)
* Fix screen flow

* Update ice state
2019-05-25 14:14:14 +08:00
trichimtrich
16578795e1 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
e8424dc7f4
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
06deabfb57 Add stun list 2019-05-24 23:24:00 +08:00
giongto35
085f271d20 Change join to start 2019-05-23 01:53:29 +08:00
giongto35
5ddc08f0d5
Update readme overlord (#33)
* Update readme for release

* Update readme

* Update design Doc overlord flow
2019-05-21 23:30:22 +08:00
giongto35
ac87281ab7 Merge branch 'master' of github.com:giongto35/cloud-game 2019-05-18 02:50:52 +08:00
giongto35
fdc83e12fb Quit room 2019-05-18 02:50:25 +08:00
trichimtrich
1709068ce1 remove minimum bound of screen 2019-05-17 22:31:10 +08:00
giongto35
f743fc5520 Remove room ID after quit 2019-05-17 03:29:21 +08:00
giongto35
ebd692087b
Merge branch 'master' into fix-sdp 2019-05-17 02:31:13 +08:00
trichimtrich
9955feedf7 fix touch gesture 2019-05-16 01:23:48 +08:00
hasagi
2e6002d8fa WIP 2019-05-15 19:05:10 +08:00
trichimtrich
d5061ff7a0 WIP 2019-05-15 12:13:06 +08:00
giongto35
a06bd0edd9 Add iceCandidates logic 2019-05-15 02:14:24 +08:00
trichimtrich
acff5d8bc9 Merge branch 'master' into frontend2 2019-05-15 02:10:18 +08:00
trichimtrich
97b5dfdb8a WIP 2019-05-15 02:08:58 +08:00
trichimtrich
2ac618092a WIP 2019-05-14 14:13:36 +08:00
giongto35
27df07e04d Maintain connection from browser 2019-05-13 23:34:06 +08:00
uxer
61c84634f4 funtional touch 2019-04-30 08:35:17 +07:00
uxer
395e5b0d2e WIP 2019-04-30 08:11:41 +07:00
uxer
727a6daffa add multi layout gamepad 2019-04-29 19:38:51 +07:00
uxer
fca29e8b07 WIP 2019-04-29 10:44:22 +07:00
giongto35
ebe4b91a07 Add game list 2019-04-25 02:18:32 +08:00
trichimtrich
7a3943ae4c audio channel unordered + unreliable buffer 2019-04-23 04:49:43 +08:00
trichimtrich
a98bf7799e merge master 2019-04-23 03:52:38 +08:00
trichimtrich
17413c85c1 merge master 2019-04-23 03:36:31 +08:00