Commit graph

76 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
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
aa4128b818 Remove logging address 2019-06-20 00:03:52 +08:00
giongto35
24e9b21a35 Find nearest sever 2019-06-19 04:31:09 +08:00
trichimtrich
21a23e2d09 add ribbon 2019-06-10 23:53:52 +08:00
giongto35
6a5e9d536f Join room directly (#53) 2019-06-09 15:34:11 +08:00
giongto35
b223a46599 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
c45776150e Use audioReady 2019-06-07 22:50:46 +08:00
giongto35
7b94f2095f Update README + quit force reload 2019-06-07 21:55:37 +08:00
giongto35
c85e3fda9a Close input chan after quit game 2019-06-06 23:14:29 +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
06d56ca6ee 300th commit: Update REAME + ice timeout 2019-05-29 01:41:54 +08:00
giongto35
c0404f5758 Add IPV4 stun 2019-05-28 03:00:25 +08:00
giongto35
8ddb1832a8 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
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
giongto35
4bf3e37fa2 Use google stun only (#43) 2019-05-26 04:45:12 +08:00
giongto35
ff13145893 Fix screen flow (#40)
* Fix screen flow

* Update ice state
2019-05-25 14:14:14 +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
605d276b39 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
e39e3a6e07 Add stun list 2019-05-24 23:24:00 +08:00
giongto35
855c135d59 Merge branch 'master' of github.com:giongto35/cloud-game 2019-05-18 02:50:52 +08:00
giongto35
5132199d0b Quit room 2019-05-18 02:50:25 +08:00
trichimtrich
c317eb72ec remove minimum bound of screen 2019-05-17 22:31:10 +08:00
giongto35
c260d46aeb Remove room ID after quit 2019-05-17 03:29:21 +08:00
giongto35
cb8a33b544 Merge branch 'master' into fix-sdp 2019-05-17 02:31:13 +08:00
trichimtrich
c74448d87d fix touch gesture 2019-05-16 01:23:48 +08:00
hasagi
d39c1c1e9c WIP 2019-05-15 19:05:10 +08:00
trichimtrich
8d929d29c8 WIP 2019-05-15 12:13:06 +08:00
giongto35
e4ae98e93a Add iceCandidates logic 2019-05-15 02:14:24 +08:00
trichimtrich
1a16e538c8 Merge branch 'master' into frontend2 2019-05-15 02:10:18 +08:00
trichimtrich
f61a7e5308 WIP 2019-05-15 02:08:58 +08:00
trichimtrich
1034fb4b77 WIP 2019-05-14 14:13:36 +08:00
giongto35
5dca4000f0 Maintain connection from browser 2019-05-13 23:34:06 +08:00
uxer
ee4de5cd32 funtional touch 2019-04-30 08:35:17 +07:00
uxer
f816a7af90 WIP 2019-04-30 08:11:41 +07:00
uxer
921e624dc3 add multi layout gamepad 2019-04-29 19:38:51 +07:00
uxer
ee50a53c9a WIP 2019-04-29 10:44:22 +07:00
giongto35
c1eeebacf8 Add game list 2019-04-25 02:18:32 +08:00
trichimtrich
632ff38ffc audio channel unordered + unreliable buffer 2019-04-23 04:49:43 +08:00
trichimtrich
ac00b97956 merge master 2019-04-23 03:52:38 +08:00
trichimtrich
cd624352b6 merge master 2019-04-23 03:36:31 +08:00
trichimtrich
666b0a2574 WIP 2019-04-22 10:56:00 +08:00
giongto35
edffd64141 Add heartbeat 2019-04-21 23:57:59 +08:00
giongto35
83897ba830 Merge branch 'access-overlord' of github.com:giongto35/cloud-game into access-overlord 2019-04-21 18:22:22 +08:00
giongto35
2a397071f7 Merge branch 'master' into access-overlord 2019-04-21 12:21:30 +02:00
giongto35
a2f2786fa5 Add sessionID 2019-04-21 01:52:01 +08:00
giongto35
4f03f5b781 Remove unnecessary log 2019-04-20 16:13:04 +08:00
giongto35
ba5c7e7ca6 Fix bug, not use async when sending back sdp to browser 2019-04-20 16:06:44 +08:00