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
48031e4734 Use google stun server 2019-06-15 23:04:08 +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
0600a40b98 remove api 2019-06-06 23:14:29 +08:00
giongto35
ab06eb488d Optimize 2019-06-06 23:14:29 +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
71e6d0bd4b
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
1d5e918c0a Use different uuid package 2019-05-24 23:56:03 +08:00
giongto35
06deabfb57 Add stun list 2019-05-24 23:24:00 +08:00
giongto35
e914745c90 Unorder data channel 2019-05-23 21:24:13 +08:00
giongto35
b8cffcbc67 use for to wait channel 2019-05-20 16:00:09 +08:00
giongto35
bfc40f6940 Change done chan to 1 2019-05-20 15:16:56 +08:00
giongto35
ebd692087b
Merge branch 'master' into fix-sdp 2019-05-17 02:31:13 +08:00
giongto35
2f7b7ba55e Remove comments 2019-05-16 02:41:54 +08:00
giongto35
9ea0bf223c Check peerconnection is in room before detach and reconn 2019-05-16 01:04:54 +08:00
giongto35
a06bd0edd9 Add iceCandidates logic 2019-05-15 02:14:24 +08:00
giongto35
c75efdc559 Update close encoder channel 2019-05-14 03:03:51 +08:00
giongto35
73188e71db Remove lock 2019-05-11 01:49:01 +08:00
giongto35
da3008c0e5 Update comment 2019-05-09 02:14:56 +08:00
giongto35
4baff5dce6 Close Leaked goroutine 2019-05-08 23:59:47 +08:00
giongto35
557ebbbb8f Free up resource after room is closed 2019-05-07 02:26:52 +08:00
giongto35
df8d9c73f1 Remove session after rejoin few times 2019-05-04 01:52:05 +08:00
giongto35
37e943e5a5 Fix websocket 2019-05-02 03:01:58 +08:00
trichimtrich
7a3943ae4c audio channel unordered + unreliable buffer 2019-04-23 04:49:43 +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
13363a19e9 Flag to turn off monitor 2019-04-21 22:08:48 +08:00
Nguyen Huu Thanh
cb295be9b0 Add Monitor 2019-04-19 21:43:33 +08:00
giongto35
49eb71060d Clean code 2019-04-17 00:44:22 +08:00
trichimtrich
d532c76297 audio with opus codec 2019-04-16 07:09:36 +08:00
hasagi
915e4a6b64 WIP 2019-04-15 19:20:47 +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
7742d59e18 WIP audio 2019-04-14 01:11:08 +07:00
hasagi
0ccc7e58a5 WIP audio 2019-04-14 00:54:47 +07:00
hasagi
73f180493f WIP audio 2019-04-13 00:40:08 +07:00
hasagi
768baf02ba 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