Skip to content
giongto35 edited this page Aug 31, 2019 · 3 revisions

The challenge of Cloud Gaming is to ensure the latency between input and media is lowest. It doesn't like mainstream streaming platform like Twitch when the thing you watch is a few seconds behind realtime.

CloudRetro is based on the idea of applying WebRTC, a peer-to-peer streaming protocol used in video call and audio call, in server-client manner. There are multiple streaming servers called worker and each of them will be paired up with a user. All game logic and streaming logic will be processed on worker.

CloudRetro focuses on delivering the best gaming experience with lowest latency. If the video or audio stream is not in highest quality, it doesn't affect to user as much as delay input.

To achieve the lowest latency from game to user, we don't capture the image from the screen but we hook the image and audio before it is rendered to screen. For that reason, CloudRetro run emulators internally with RetroArch and embeda logic in rendering phase. Moreover, RetroArch also supports unlimited number of emulator, from NES to Playstation, which can help demonstrate the versatility of this cloud gaming approach.

Clone this wiki locally