Tutorial

How to use OBS with Ant Media Server? [2026 Update]

Home Tutorial How to use OBS with Ant Media Server? [2026 Update]
Burak Kekeç Author
Jan 28, 2026 6 min read

OBS (Open Broadcaster Software) is free, open-source software for video recording and live streaming. When integrated with Ant Media Server, OBS enables ultra-low latency broadcasting with sub-second delay using WebRTC technology.

This tutorial is part of our comprehensive OBS Studio Streaming Guide, which covers everything from basic setup to advanced streaming techniques.

OBS captures video from webcams, external cameras, screen sources, and audio devices. It publishes streams via RTMP protocol to Ant Media Server, which converts the stream to multiple formats including WebRTC, HLS, and DASH for playback across different devices.

Key capabilities:

  • Zero licensing costs for both OBS and Ant Media Server Community Edition
  • Cross-platform support (Windows, macOS, Linux)
  • Professional-grade encoding with GPU acceleration
  • Multi-source composition with scenes and transitions

This guide covers OBS-to-Ant Media Server integration in 5 steps, from initial setup through live broadcast verification. For alternative streaming software, see our guides on vMix and XSplit.

Step 1: Download and Install OBS

Download OBS from its official website. OBS supports Windows, macOS, and Linux distributions.

Follow the installation wizard for your operating system. No additional plugins are required for basic RTMP streaming with Ant Media Server.

When launching OBS for the first time, you can skip the auto-configuration wizard. Manual configuration provides better control over encoding settings and stream quality.

System Requirements:

Stable internet connection with upload speed exceeding your target bitrate by 1.5x

Windows 10/11, macOS 10.15+, or Ubuntu 20.04+

4GB RAM minimum (8GB recommended)

GPU with hardware encoding support (NVENC, QuickSync, or AMD VCE)

Step 2: Configure Video and Audio Sources

OBS Studio interface with video sources panel and Ant Media Server RTMP configuration settings

OBS uses sources to define what appears in your live stream. Sources can include webcams, external cameras, screen captures, media files, or browser windows.

Adding Video Sources

  1. Click the + icon in the Sources panel
  2. Select your source type:
    • Video Capture Device for webcams and cameras
    • Display Capture for full screen recording
    • Window Capture for specific applications
    • Image for static overlays
  3. Configure source properties (resolution, frame rate, audio)
  4. Position and resize sources in the preview window

Adding Audio Sources

  1. Add Audio Input Capture for microphones
  2. Add Audio Output Capture for system audio
  3. Configure audio levels in the Audio Mixer panel
  4. Apply filters (noise suppression, gain, compression) for clean audio

You can combine multiple sources in a single scene. For example, overlay your webcam feed over screen capture for presentation-style broadcasts.

For professional audio setups, configure multi-track audio recording to separate voice, music, and system sounds. This enables better post-production editing if you’re also recording locally.

Step 3: Configure Ant Media Server

Before streaming from OBS, Ant Media Server must be running and a live stream must be created.

Start Ant Media Server

  1. Download Ant Media Server from the official website or GitHub repository.
  2. Extract the package on your server.
  3. Start the server by running the following commands in the terminal:
cd /path/to/ant-media-server
./start.sh

Once started, Ant Media Server will begin running its services.

Create a Live Stream

  1. Open the Ant Media Server Management Console in your browser:
http://<server-ip>:5080
  1. From the Applications section, select LiveApp.
  2. Click New Live Stream to create a stream.
  3. Ant Media Server will generate a unique stream ID and a publish URL in the following format:
rtmp://<server-ip>/LiveApp/<stream-id>
  1. Copy the Publish URL, as it will be used in OBS.
Ant Media Server Management Console showing new live stream creation with RTMP publish URL

Step 4: Configure OBS for Streaming

To start streaming from OBS to Ant Media Server, you need to configure the stream settings using the publish URL generated by Ant Media Server.

  1. Open OBS and click Settings.
  2. Select the Stream tab.
  3. Set the following values:
    • Service: Custom
    • Server: rtmp://<server-ip>/LiveApp
    • Stream Key: <stream-id>
  4. Click OK to save the settings.

⚠️ Important: The stream ID must be entered in the Stream Key field, not appended to the Server URL. Incorrect placement will prevent the stream from publishing.

OBS Settings dialog showing Stream tab with Custom service RTMP server URL and stream key configuration

Step 5: Start Streaming and Watch the Broadcast

After completing the configuration, you are ready to start streaming.

  1. Close the OBS Settings window.
  2. Click the Start Streaming button in the main OBS window.

Once streaming starts, Ant Media Server will receive the stream and publish it immediately.

You can verify and watch the live stream using one of the following methods:

  • From the Ant Media Server Management Console
  • Using a media player such as VLC by opening the same RTMP or playback URL
  • By embedding the stream in a player if playback is enabled

If the stream is configured correctly, you should see the live broadcast without delay.

For production deployments, configure stream security to prevent unauthorized access. Enable publish tokens for RTMP input and play tokens for viewer access.

Frequently Asked Questions

Is OBS free to use with Ant Media Server?

Yes. OBS is free and open-source software and can be used without any licensing cost. It is fully compatible with Ant Media Server for publishing live streams using RTMP.

Which streaming protocol does OBS use with Ant Media Server?

OBS publishes live streams using the RTMP protocol. Ant Media Server receives the RTMP stream and can convert it to different playback formats such as HLS, DASH, or WebRTC for viewers.

Where do I find the stream URL and stream key for OBS?

The stream URL and stream key are generated when you create a live stream in the Ant Media Server Management Console. The server address is entered in the OBS Server field, and the stream ID must be entered in the Stream Key field.

Why does my OBS stream not appear on Ant Media Server?

Common reasons include an incorrect server URL or stream key, firewall restrictions blocking RTMP traffic, or Ant Media Server not running. Verify that the stream ID is placed in the Stream Key field and that required ports are open on the server.

Conclusion

OBS provides a reliable and professional way to publish live video streams to Ant Media Server using RTMP protocol. This integration enables scalable streaming workflows supporting multiple playback formats including ultra-low latency WebRTC, adaptive HLS, and DASH.

This guide covered the complete setup process—from installing OBS and configuring sources to publishing and verifying live streams. Additional features like adaptive bitrate streaming, recording, CDN integration, and stream security provide a foundation for building professional broadcasting solutions.

For advanced implementations, explore Ant Media Server documentation covering clustering, load balancing, and enterprise deployment patterns. The combination of OBS’s flexible capture capabilities and Ant Media Server’s scalable delivery ensures stable streaming performance for applications ranging from small webcasts to large-scale broadcasts serving thousands of concurrent viewers.

For personalized assistance with your streaming setup, contact our team or explore our support packages for priority help with complex deployments.

Share:

Ready to Transform Your Streaming Experience?

Start your free trial today and discover why thousands choose Ant Media for their streaming needs.

No credit card required • Setup in minutes • Cancel anytime