Streaming configuration
Configure the streaming services included in your RelayRTC installation.
On this page
Streaming is included in the standard setup wizard. PostgreSQL, rooms, mediasoup, coturn, streaming workers, the ingest gateway and private storage share one generated Compose project.
Services and credentials
The complete stack has 16 services. Source, output, recording and room-export workers use the same release's streaming image with role-specific commands. The wizard generates independent credentials and saves them in the installation folder.
From that folder:
docker compose ps -a
docker compose logs --tail=100 streaming-worker streaming-gatewaymigrate and streaming-storage-init exit with code 0 after successful initialization. Healthy containers alone do not establish working ingest or playback.
Default local addresses
| Setting | Default |
|---|---|
STREAMING_PUBLIC_ORIGIN | http://localhost:8080 |
STREAMING_PUBLIC_RTMP_ORIGIN | rtmp://127.0.0.1:1935 |
STREAMING_GUEST_SIGNALING_URL | ws://localhost:8081/v1/connect |
STREAMING_INGEST_BIND | 127.0.0.1 |
STREAMING_WEBRTC_HOSTS | 127.0.0.1 |
The wizard derives public streaming addresses from your API, signaling and media settings. Review RTMP/WHIP routing separately for remote publishers. STREAMING_ALLOWED_ORIGINS must include each browser application's exact origin. External HLS pulls require an explicit STREAMING_SOURCE_ALLOWED_HOSTS allowlist.
Use settings management for later changes. Update saved public origins explicitly when changing host ports.
Publish and play
- Connect a room or encoder.
- Create and start a broadcast.
- Wait for
readiness.viewerReady. - Authorize a viewer using private playback.
Remote encoders and viewers also need public streaming access and the base media/TURN ports.
Operations
Runtime gateway configuration, certificates and monitoring files live inside your generated installation folder. Keep that folder alongside the stateful Docker volumes. No separate streaming installer is needed.