OBS Studio Plugin
The Moq OBS Studio plugin enables seamless integration with OBS, allowing you to publish directly to Moq relays and subscribe to Moq broadcasts as sources.Overview
The OBS plugin provides two main capabilities:- Publishing: Stream directly from OBS to a Moq relay
- Subscribing: Use Moq broadcasts as video sources in your OBS scenes
Repository
The plugin is maintained in a separate repository:Moq OBS Plugin
View source code and installation instructions
Installation
Publishing from OBS
Stream your OBS output directly to a Moq relay:Subscribing to Moq Sources
Use Moq broadcasts as video sources in your OBS scenes:Use Cases
Remote Production
Combine multiple Moq sources from remote locations into a single OBS production:- Remote contributors publish to Moq using webcams or mobile devices
- OBS subscribes to each contributor as a separate source
- Mix, overlay, and produce the final stream from OBS
Live Monitor
View your Moq broadcasts directly in OBS:- Add your published stream as a source to monitor output
- Useful for checking latency and quality
- Preview multiple broadcasts simultaneously
Restreaming
Publish from one Moq relay and subscribe from another:- Subscribe to a Moq broadcast as an OBS source
- Apply transformations (overlays, filters, etc.)
- Publish the modified stream to a different relay or platform
Configuration Tips
Encoder Settings
For optimal Moq streaming, use these OBS encoder settings:- Rate Control: CBR (Constant Bitrate)
- Keyframe Interval: 2 seconds
- CPU Preset: Fast or faster
- Tune: Zero Latency
Audio Settings
Recommended audio configuration:- Sample Rate: 48 kHz
- Channels: Stereo
- Bitrate: 128 kbps or higher
Video Settings
Balance quality and latency:- Resolution: 1920x1080 or 1280x720
- Frame Rate: 30 or 60 fps
- Bitrate: 2500-5000 kbps for 1080p
Lower keyframe intervals reduce latency but increase bandwidth usage.
Troubleshooting
Plugin Not Showing in OBS
- Verify the plugin files are in the correct directory
- Check OBS logs for loading errors
- Ensure OBS version compatibility
Connection Errors
- Verify relay URL is accessible
- Check firewall and network settings
- Ensure UDP traffic is allowed
- Validate JWT token if authentication is required
Poor Video Quality
- Increase bitrate in OBS encoder settings
- Check network bandwidth availability
- Reduce resolution or frame rate
- Use hardware encoding if available
Next Steps
Deploy a Relay
Set up your own relay server
FFmpeg Integration
Publish media using command-line tools
Web Playback
Watch OBS streams in the browser
Authentication
Secure your streams with JWT tokens