Commit graph

27 commits

Author SHA1 Message Date
giongto35
604209bf8f Stun turn from worker (#65)
* Stun turn from worker

* Add Stun turn from server

* Add google stun to ice list
2019-08-05 21:48:19 +08:00
giongto35
35c42e3bad Update cores 2019-08-03 16:23:55 +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
aa37696eb9 Add comments 2019-06-19 23:11:08 +08:00
giongto35
e0462326f4 Force update ws.js 2019-06-19 04:31:09 +08:00
giongto35
102ce66fe0 Update latency 2019-06-19 04:31:09 +08:00
giongto35
24e9b21a35 Find nearest sever 2019-06-19 04:31:09 +08:00
giongto35
bb005a15d4 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
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
564bda41c6 Use different uuid package 2019-05-24 23:56:03 +08:00
giongto35
105d5d4ab9 Fix panic when load (#35)
* Change join to start

* Unorder data channel

* Add guard
2019-05-23 23:51:50 +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
16de106f26 Update save and load 2019-05-19 20:00:24 +08:00
giongto35
6dc274958f Update closing websocket 2019-05-19 17:51:48 +08:00
giongto35
515259772f Clean code 2019-05-19 05:24:58 +08:00
giongto35
c3cdd80dc4 Unified Session 2019-05-19 05:02:38 +08:00
giongto35
12a3a53ae8 update architecture 2019-05-19 03:12:21 +08:00
giongto35
34c030e9f9 Update test for reconnect with overlord 2019-05-12 15:11:59 +08:00
giongto35
59d3f69f95 Update test comments 2019-05-12 00:50:07 +08:00
giongto35
0103552338 Fix websocket 2019-05-02 03:01:58 +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
e85fd125dc restructure file 2019-04-27 21:42:00 +07:00
giongto35
907a8b7099 refactor with callback 2019-04-20 01:03:19 +08:00