Commit graph

43 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
0652e02a93 Update latency 2019-06-19 04:31:09 +08:00
giongto35
879baead35 Add prometheus client 2019-06-05 01:57:53 +08:00
giongto35
a34d612415
Start worker port from 9000 (#47) 2019-06-03 02:41:35 +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
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
71e6d0bd4b
Use go mode + use pion v2 (#39)
* Update webrtv2

* Update gomod

* Update run local

* Update docker

* Update mario 3 rom

* Update script

* Throw error when overlord cannot launch
2019-05-25 12:10:04 +08:00
giongto35
f50ae5e844
Worker auto reconnect (#34)
* Change join to start

* WIP

* Use RouteWork to route worker call

* Add reconnect

* Update main test

* Remove fatal

* Update test

* Remove unnecessary
2019-05-23 19:23:45 +08:00
giongto35
4eb06958c5 Worker listen to random port so we can run multiple worker 2019-05-21 23:54:31 +08:00
giongto35
bfc40f6940 Change done chan to 1 2019-05-20 15:16:56 +08:00
giongto35
29874defe8 Update run local 2019-05-19 23:55:41 +08:00
giongto35
f960321759 Update closing websocket 2019-05-19 17:51:48 +08:00
giongto35
1140181e32 Update comments 2019-05-19 13:24:24 +08:00
giongto35
a11c65bc1e Update test 2019-05-19 13:13:09 +08:00
giongto35
f5a91542f5 Clean code 2019-05-19 05:24:58 +08:00
giongto35
f42b9eefc6 update architecture 2019-05-19 03:12:21 +08:00
trichimtrich
acff5d8bc9 Merge branch 'master' into frontend2 2019-05-15 02:10:18 +08:00
trichimtrich
2ac618092a WIP 2019-05-14 14:13:36 +08:00
giongto35
1a6fd6d7bb Add sleep 2019-05-12 17:55:03 +08:00
giongto35
f1ee805c07 Update test rejoin with overlord 2019-05-12 17:47:39 +08:00
giongto35
c5c00ac594 update test comment 2019-05-12 17:37:04 +08:00
giongto35
453dcd09b1 Remove sleep 2019-05-12 15:13:18 +08:00
giongto35
43d74ec49f Update test for reconnect with overlord 2019-05-12 15:11:59 +08:00
giongto35
1331fb8363 Update handshake signal 2019-05-12 13:30:48 +08:00
giongto35
31c9e0d2d7 Update test comments 2019-05-12 00:50:07 +08:00
giongto35
4baff5dce6 Close Leaked goroutine 2019-05-08 23:59:47 +08:00
giongto35
df8d9c73f1 Remove session after rejoin few times 2019-05-04 01:52:05 +08:00
giongto35
be2cfdcf68 Separate room logic 2019-05-03 02:22:01 +08:00
giongto35
28c1fc440d Update test path and game path 2019-05-03 01:49:23 +08:00
giongto35
2be2e4d412 Fix register room bug 2019-05-02 04:16:45 +08:00
giongto35
03bd3fb1cc Setup peerconnections for OverlordClient 2019-05-02 03:55:37 +08:00
giongto35
37e943e5a5 Fix websocket 2019-05-02 03:01:58 +08:00
giongto35
325ad52f82 Clean code 2019-05-01 21:36:01 +08:00
giongto35
b9c950c3cc Separate create room logic 2019-05-01 21:06:05 +08:00
giongto35
ccd3565e83 Update test 2019-05-01 16:37:15 +08:00
giongto35
adfa55f7f1 Refactor mode select 2019-05-01 15:56:31 +08:00
giongto35
b9ef9da718 Refactor WIP 2019-05-01 15:36:21 +08:00
Nguyen Huu Thanh
dd415f1cce WIP 2019-05-01 11:02:37 +08:00
Nguyen Huu Thanh
81cdf27acc WIP 2019-04-30 17:33:35 +07:00
Nguyen Huu Thanh
61be770f22 WIP 2019-04-28 21:45:30 +07:00
Nguyen Huu Thanh
bfac1c8524 restructure file 2019-04-27 21:42:00 +07:00