Core components
Networking & multiplayer infrastructure
3 min
the multiplayer infrastructure of the ir engine provides the foundation for building real time multiplayer game servers it manages the lifecycle of server instances, handles player connections and authorization, and enables real time communication (audio, video, game data) using mediasoup webrtc player and server states are managed reactively by hyperflux, and media streams can be recorded the entire system is built upon the feathersjs framework architecture overview the multiplayer infrastructure consists of several interconnected components that work together to create a robust multiplayer experience flowchart td a0\["instance lifecycle management"] a1\["user connection and authorization"] a2\["mediasoup webrtc communication backbone"] a3\["hyperflux state & action system"] a4\["media stream recording"] a5\["feathersjs application & services"] a0 "validates users with" > a1 a0 "initializes" > a2 a0 "manages its state with" > a3 a0 "uses services from" > a5 a1 "triggers instance logic via" > a0 a1 "dispatches events to" > a3 a1 "authenticates via" > a5 a2 "uses for webrtc state/actions" > a3 a4 "consumes media from" > a2 a4 "uploads recordings using" > a5 a5 "handles connections using" > a1 documentation chapters mediasoup webrtc communication backbone docid\ vjjrb12ev9mvukxtnam9einstance lifecycle management docid\ cmtbojnfby3agr9ng2mbzuser connection and authorization docid\ l88afdioqjhcb9adle9gzfeathersjs application & services docid\ d73ap4fr2 gpncbxjp36uhyperflux state & action system docid\ sg w8mk nxqafyncepuymedia stream recording docid\ kmm8wwcdv0ua7i0ujs e