In livekit a real-time WebRTC platform, IngressService (moving media IN) and EgressService (moving media OUT) are specialized, horizontally scalable backend services used to bridge real-time WebRTC rooms with non-WebRTC workflows
Allowing users to stream directly from broadcasting software like OBS Studio or vMix into your app.
Integrating dedicated hardware encoders (like RTMP-capable cameras).Pulling static video/audio files or streams from remote HTTP servers into a live session.
Supported Input Protocols:
- RTMP / RTMPS: The standard protocol used by OBS and hardware streamers
- WHIP: The new WebRTC HTTP Ingestion Protocol.
- SRT / HTTP: For raw media files or livestream links.
EgressService is used to record, save, or broadcast live WebRTC sessions out to other platforms. When triggered via the server SDK, an egress worker joins the room as a hidden participant, captures the audio/video tracks, and exports them