9 Code Deep Dive
giongto35 edited this page 2021-05-13 03:30:28 +08:00

Room

Room is the core building block of Cloud Gaming stream in CloudRetro. Room Includes Emulator + Encoder + WebRTC

Worker a.k.a Streaming Server

Worker runs multiple gaming sessions inside a worker. User communicates with Worker directly over P2P connection.

Worker Pairing

User firstly connects to Coordinator. Coordinator first finds the best worker to user and setup WebRTC connection between user and worker. After WebRTC connection is setup, Coordinator is no longer involved.