cloud-game/pkg/network
Sergey Stepanov 196930281b Add the initial caged apps abstraction
In the current version of the application, we have strictly hardcoded the captured runtime application (FFI Libretro frontend) as well as the streaming transport (WebRTC). This commit makes it possible to choose these components at runtime.

In this commit, we no longer manage initially connected users separately from the rooms, and instead, we treat all users as abstract app sessions, rather than hardcoded WebRTC connections. These sessions may contain all the transport specifics, such as WebRTC and so on.

Rooms, instead of having the hardcoded emulator app and WebRTC media encoders, now have these components decoupled. In theory, it is possible to add new transports (e.g., WebTransport) and streaming apps (e.g., wrapped into an ffmpeg desktop app).
2023-09-16 20:12:24 +03:00
..
httpx Fix some test on Arch 2023-09-16 20:12:24 +03:00
socket Refactored v3 (#350) 2023-01-09 23:20:22 +03:00
webrtc Add the initial caged apps abstraction 2023-09-16 20:12:24 +03:00
websocket Increase ws write timeout for slow IO 2023-04-07 22:24:35 +03:00
address.go Refactored v3 (#350) 2023-01-09 23:20:22 +03:00
address_test.go Refactored v3 (#350) 2023-01-09 23:20:22 +03:00