Commit graph

45 commits

Author SHA1 Message Date
giongto35
5175fde635 Move gamelist to become a utility library, this package can be shared between overlord and worker (#72)
* Return games based on type

* Add nes extension also

* Update game list logic

* Add more files to diff
2019-08-27 07:26:33 +08:00
Sadlil Rhythom
42e281234c Introduce Makefile and go vendor directory for faster build (#67) 2019-08-17 00:13:36 +08:00
giongto35
41cb01bf2b 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
e6ed27b31f 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
4172e49b03 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
102ce66fe0 Update latency 2019-06-19 04:31:09 +08:00
giongto35
c65250a498 Add prometheus client 2019-06-05 01:57:53 +08:00
giongto35
0864b1e95a Start worker port from 9000 (#47) 2019-06-03 02:41:35 +08:00
giongto35
e0a6ce2c6c 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
dea9714a5d 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
42e54ea6f5 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
e983359835 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
04653ad1b7 Worker listen to random port so we can run multiple worker 2019-05-21 23:54:31 +08:00
giongto35
6006532a36 Change done chan to 1 2019-05-20 15:16:56 +08:00
giongto35
e0e863f172 Update run local 2019-05-19 23:55:41 +08:00
giongto35
6dc274958f Update closing websocket 2019-05-19 17:51:48 +08:00
giongto35
263c7c7da6 Update comments 2019-05-19 13:24:24 +08:00
giongto35
223f58ae56 Update test 2019-05-19 13:13:09 +08:00
giongto35
515259772f Clean code 2019-05-19 05:24:58 +08:00
giongto35
12a3a53ae8 update architecture 2019-05-19 03:12:21 +08:00
trichimtrich
1a16e538c8 Merge branch 'master' into frontend2 2019-05-15 02:10:18 +08:00
trichimtrich
1034fb4b77 WIP 2019-05-14 14:13:36 +08:00
giongto35
2db6a31c16 Add sleep 2019-05-12 17:55:03 +08:00
giongto35
efdc4442d3 Update test rejoin with overlord 2019-05-12 17:47:39 +08:00
giongto35
be1a742501 update test comment 2019-05-12 17:37:04 +08:00
giongto35
292d3c3e2a Remove sleep 2019-05-12 15:13:18 +08:00
giongto35
34c030e9f9 Update test for reconnect with overlord 2019-05-12 15:11:59 +08:00
giongto35
5f16662b25 Update handshake signal 2019-05-12 13:30:48 +08:00
giongto35
59d3f69f95 Update test comments 2019-05-12 00:50:07 +08:00
giongto35
56f7dc45d0 Close Leaked goroutine 2019-05-08 23:59:47 +08:00
giongto35
401940b717 Remove session after rejoin few times 2019-05-04 01:52:05 +08:00
giongto35
5d26d465a4 Separate room logic 2019-05-03 02:22:01 +08:00
giongto35
8b7e240e7e Update test path and game path 2019-05-03 01:49:23 +08:00
giongto35
5c00d42789 Fix register room bug 2019-05-02 04:16:45 +08:00
giongto35
b35ac75121 Setup peerconnections for OverlordClient 2019-05-02 03:55:37 +08:00
giongto35
0103552338 Fix websocket 2019-05-02 03:01:58 +08:00
giongto35
42459998eb Clean code 2019-05-01 21:36:01 +08:00
giongto35
c00d7c8491 Separate create room logic 2019-05-01 21:06:05 +08:00
giongto35
7ea7e9b5f0 Update test 2019-05-01 16:37:15 +08:00
giongto35
bd94e70d4f Refactor mode select 2019-05-01 15:56:31 +08:00
giongto35
a12b884bb0 Refactor WIP 2019-05-01 15:36:21 +08:00
Nguyen Huu Thanh
48c7b8fd3d WIP 2019-05-01 11:02:37 +08:00
Nguyen Huu Thanh
3a6b34ce80 WIP 2019-04-30 17:33:35 +07:00
Nguyen Huu Thanh
3bfc15b096 WIP 2019-04-28 21:45:30 +07:00
Nguyen Huu Thanh
e85fd125dc restructure file 2019-04-27 21:42:00 +07:00