OBS Studio Streaming
Learn how to stream to your ingress endpoint using OBS Studio.
Prerequisites
- OBS Studio (opens in a new tab) installed
- An API key for the Ingress API
Step 1: Create an Ingress
Generate an ingress endpoint using the API or curl:
curl -X POST https://live-api.block8910.com/api/ingress/generate \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_API_KEY" \
-d '{
"roomName": "obs-stream",
"participantName": "OBS Broadcast"
}'Note the response values:
- Server URL:
rtmp://rtmp.block8910.com:1935/x - Stream Key:
aAXevUYwfj9K(your actual key)
Step 2: Configure OBS
Open Stream Settings
- Open OBS Studio
- Go to Settings → Stream
Enter Server Details
| Setting | Value |
|---|---|
| Service | Custom... |
| Server | rtmp://rtmp.block8910.com:1935/x |
| Stream Key | Your stream key from the API response |

Step 3: Configure Output Settings
Go to Settings → Output → Streaming
Recommended Settings
| Setting | Value |
|---|---|
| Encoder | x264 (or NVENC if available) |
| Rate Control | CBR |
| Bitrate | 2500-4500 kbps |
| Keyframe Interval | 2 seconds |
| Preset | veryfast or fast |
For 1080p Streaming
| Setting | Value |
|---|---|
| Bitrate | 4500 kbps |
| Resolution | 1920x1080 |
| FPS | 30 or 60 |
For 720p Streaming
| Setting | Value |
|---|---|
| Bitrate | 2500 kbps |
| Resolution | 1280x720 |
| FPS | 30 |
Step 4: Audio Settings
Go to Settings → Audio
| Setting | Value |
|---|---|
| Sample Rate | 48 kHz |
| Channels | Stereo |
Go to Settings → Output → Audio
| Setting | Value |
|---|---|
| Audio Bitrate | 128 kbps (or 192 for better quality) |
Step 5: Start Streaming
- Click Start Streaming in OBS
- Check the status bar at the bottom for connection status
- Green square = connected, Red = disconnected
Step 6: Verify Stream
Check if your stream is active:
curl -X GET https://live-api.block8910.com/api/ingress \
-H "x-api-key: YOUR_API_KEY"Troubleshooting
"Failed to connect to server"
- Verify the server URL is correct:
rtmp://rtmp.block8910.com:1935/x - Check that your stream key is correct
- Ensure the ingress hasn't expired or been deleted
"Encoding overloaded"
- Lower the video resolution
- Use a faster encoder preset
- Reduce the bitrate
- Close other applications
High latency
- Use CBR rate control
- Set keyframe interval to 2 seconds
- Reduce buffer size in advanced settings
Quick Reference
| Quality | Resolution | Bitrate | Preset |
|---|---|---|---|
| Low | 720p30 | 1500 kbps | veryfast |
| Medium | 720p60 | 3000 kbps | fast |
| High | 1080p30 | 4500 kbps | fast |
| Ultra | 1080p60 | 6000 kbps | medium |