Commit graph

59 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
e05e7e2b09 Find nearest sever 2019-06-19 04:31:09 +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
bef09cf5df Use audioReady 2019-06-07 22:50:46 +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
fdc83e12fb Quit room 2019-05-18 02:50:25 +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
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
giongto35
27df07e04d Maintain connection from browser 2019-05-13 23:34:06 +08: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
trichimtrich
186966fd1b WIP 2019-04-22 10:56:00 +08:00
giongto35
3957a7b470 Add heartbeat 2019-04-21 23:57:59 +08:00
giongto35
af3e80cc45 Merge branch 'access-overlord' of github.com:giongto35/cloud-game into access-overlord 2019-04-21 18:22:22 +08:00
giongto35
aa7f62457e
Merge branch 'master' into access-overlord 2019-04-21 12:21:30 +02:00
giongto35
b6a6db10f1 Add sessionID 2019-04-21 01:52:01 +08:00
giongto35
aecb078636 Remove unnecessary log 2019-04-20 16:13:04 +08:00
giongto35
d204c2c19e Fix bug, not use async when sending back sdp to browser 2019-04-20 16:06:44 +08:00
giongto35
4cd920732a SDP Exchanging 2019-04-20 15:25:11 +08:00
giongto35
deff2bb735 refactor with callback 2019-04-20 01:03:19 +08:00
Nguyen Huu Thanh
cb295be9b0 Add Monitor 2019-04-19 21:43:33 +08:00
trichimtrich
d532c76297 audio with opus codec 2019-04-16 07:09:36 +08:00
giongto35
ebcf942cb1 Remove emulator when no running session 2019-04-14 22:37:57 +08:00
giongto35
9030abf1e6 Fix gameboy screen not change state 2019-04-14 15:08:13 +08:00
giongto35
45f634c2f0 Clean old session 2019-04-14 12:54:58 +08:00
hasagi
8ac864b033 opus on highest quality and suitable framerate, no hope 2019-04-14 03:49:37 +07:00
hasagi
0ccc7e58a5 WIP audio 2019-04-14 00:54:47 +07:00
giongto35
e96b2a4072 WIP 2019-04-14 01:21:14 +08:00
giongto35
3e5bc04019 Init ws once 2019-04-14 00:08:27 +08:00
giongto35
58f3d244e2 Maintain connection 2019-04-13 03:03:27 +08:00
hasagi
73f180493f WIP audio 2019-04-13 00:40:08 +07:00