17. Twitch Troubleshooting
Troubleshooting issues specific to streaming to Twitch.
17.1 Common Issues
| Issue | Description |
|---|---|
| Transcoding Quality | Stream looks worse on Twitch than expected, poor video quality |
| Ingest Server Issues | Stream works intermittently, connection failures |
| Stream Not Appearing | OBS shows streaming but nothing appears on Twitch |
| Debug Logs | How to check Twitch-specific logs and error messages |
17.2 Transcoding Quality
Issue: Stream looks worse on Twitch than expected
Check: Verify transcoding settings:
Solution: Adjust quality settings:
# Increase bitrate
TWITCH_KBITS_PER_VIDEO_FRAME=100 # From 75
# Better encoding quality (more CPU)
TWITCH_X264_PRESET=slow # From medium
See Twitch Configuration for detailed settings.
17.3 Ingest Server Issues
Issue: Stream works sometimes, fails other times
Check: Test different ingest servers:
# Try different endpoints
TWITCH_ENDPOINT=lax # Los Angeles
TWITCH_ENDPOINT=ord # Chicago
TWITCH_ENDPOINT=iad # Ashburn
Verify connectivity:
Replace <endpoint> with your chosen endpoint (e.g., jfk, lax, ord).
17.4 Stream Not Appearing
17.4.1 Symptoms
- OBS shows "Streaming" but stream doesn't appear on Twitch
- No errors in OBS
17.4.2 Possible Causes
17.4.2.1 1. Service Not Enabled
Check: Look at container logs during startup:
Expected output:
Solution: If Twitch is missing:
- Verify TWITCH_KEY is set in env/relay.env
- Restart container after setting the key
17.4.2.2 2. Invalid Stream Key
Check: Look for authentication errors in logs:
Solution:
- Verify stream key is correct in env/relay.env
- Check for extra spaces or quotes around key
- Get fresh key from Twitch dashboard
17.4.2.3 3. Platform-Specific Issues
- Verify stream key hasn't expired
- Check Twitch dashboard for account status
- Ensure you're not already streaming from another source
17.5 Debug Logs
17.5.1 Enable Detailed Logging
For Twitch-specific issues, check logs:
17.5.2 Common Log Messages
Success messages:
Error messages:
17.6 See Also
- Troubleshooting Overview - Main troubleshooting guide
- Connection Issues - Network and connectivity problems
- Twitch Service - Twitch configuration details