Commit graph

59 commits

Author SHA1 Message Date
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
9cbebb60a8 Use google stun server 2019-06-15 23:04:08 +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
d0981dfbf3 remove api 2019-06-06 23:14:29 +08:00
giongto35
d9db0cc58a Optimize 2019-06-06 23:14:29 +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
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
564bda41c6 Use different uuid package 2019-05-24 23:56:03 +08:00
giongto35
e39e3a6e07 Add stun list 2019-05-24 23:24:00 +08:00
giongto35
c2e83e67a2 Unorder data channel 2019-05-23 21:24:13 +08:00
giongto35
8df00bfb63 use for to wait channel 2019-05-20 16:00:09 +08:00
giongto35
6006532a36 Change done chan to 1 2019-05-20 15:16:56 +08:00
giongto35
cb8a33b544 Merge branch 'master' into fix-sdp 2019-05-17 02:31:13 +08:00
giongto35
473808ca6e Remove comments 2019-05-16 02:41:54 +08:00
giongto35
cd0e408854 Check peerconnection is in room before detach and reconn 2019-05-16 01:04:54 +08:00
giongto35
e4ae98e93a Add iceCandidates logic 2019-05-15 02:14:24 +08:00
giongto35
6ce4ef7863 Update close encoder channel 2019-05-14 03:03:51 +08:00
giongto35
d32b34c7db Remove lock 2019-05-11 01:49:01 +08:00
giongto35
663551a22f Update comment 2019-05-09 02:14:56 +08:00
giongto35
56f7dc45d0 Close Leaked goroutine 2019-05-08 23:59:47 +08:00
giongto35
5c86ed3456 Free up resource after room is closed 2019-05-07 02:26:52 +08:00
giongto35
401940b717 Remove session after rejoin few times 2019-05-04 01:52:05 +08:00
giongto35
0103552338 Fix websocket 2019-05-02 03:01:58 +08:00
trichimtrich
632ff38ffc audio channel unordered + unreliable buffer 2019-04-23 04:49:43 +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
3e1ba6f986 Flag to turn off monitor 2019-04-21 22:08:48 +08:00
Nguyen Huu Thanh
fca3a2cac4 Add Monitor 2019-04-19 21:43:33 +08:00
giongto35
9d6e4829d7 Clean code 2019-04-17 00:44:22 +08:00
trichimtrich
f9df886dee audio with opus codec 2019-04-16 07:09:36 +08:00
hasagi
243d547632 WIP 2019-04-15 19:20:47 +08:00
giongto35
a9c6f84ae7 Clean old session 2019-04-14 12:54:58 +08:00
hasagi
9049880a43 opus on highest quality and suitable framerate, no hope 2019-04-14 03:49:37 +07:00
hasagi
d671f1a293 WIP audio 2019-04-14 01:11:08 +07:00
hasagi
190a77a9b1 WIP audio 2019-04-14 00:54:47 +07:00
hasagi
4e57f8ea28 WIP audio 2019-04-13 00:40:08 +07:00
hasagi
5bc6c7976b reconstruct debug frontend, reduce input in 8 bit, save and load in websocket 2019-04-12 07:16:46 +07:00
giongto35
7e2383437a Clean room with no sessions 2019-04-10 03:33:21 +08:00
giongto35
387cfc91b0 Add 2 players 2019-04-08 17:28:11 +08:00
giongto35
1e14a49822 Update pion package 2019-04-07 02:12:10 +08:00
giongto35
86ffcd7cbe Merge Tri / Websocket + UI Improve 2019-04-07 01:03:03 +08:00
trichimtrich
bcb3c962d8 choose http/ws, remove frame, add close state 2019-04-07 00:25:28 +08:00
trichimtrich
fb7082c21d remove isclose 2019-04-06 19:01:54 +08:00
trichimtrich
bccdee4eb0 remove crashed games, finish game select, fix dockerfile 2019-04-06 18:12:43 +08:00
trichimtrich
1048846266 remove candidate, add limit frame, add multi game 2019-04-06 05:21:16 +08:00
trichimtrich
81444a405b add candidate to server 2019-04-06 03:15:43 +08:00
giongto35
22d577fef6 Change to cloud name 2019-04-06 02:22:15 +08:00
Linus Torvalds
a625817cac fix websocket, time frame on each stage 2019-04-06 01:51:24 +08:00
giongto35
0dd99f6a69 Remove unnecessary code 2019-04-06 01:05:07 +08:00