Skip to content
Welcome to the new, unified Livepeer documentation! 👋
Guides
Stream from OBS

Stream via OBS

The purpose of this guide is to allow you to get a more in-depth look at setting up a livestream using Livepeer Studio with OBS. In order to broadcast a live stream, you’ll need a stream key.

Introduction

OBS (opens in a new tab) is the way that many users stream into Livepeer because it is easy to use, open source, and offers a high degree of customization.

Prepare the environment

Open OBS and create a source

  1. Click the + icon under sources and select Video Capture Device if you’d like to stream using a camera or webcam. If you’d like to stream a browser window, select Window Capture.
  2. Give the device a name:

OBS1 OBS2 OBS3

Input Your Stream Settings

  1. Select Stream settings.
  2. Select Custom for services.
  3. Copy and paste the RTMP ingest URL and Stream Key and paste it into the “Server” and “Stream Key” fields.
💡

The RTMP ingest URL and stream key can be found on the dashboard, on the Stream Detail page after creating a stream or in the API.

OBS4

Select Output Settings and Streaming tab

  1. In the Output Mode select Advanced.
  2. Set the keyframe interval to 2 seconds.
  3. Save your settings.
💡

Livepeer Studio works best with consistent, short keyframe intervals, ideally 2 seconds. You should set or encourage your users to set this in their broadcasting software.

OBS5

Stream and Check Output

After saving your settings, OBS will return to the stream console.

  1. Press start streaming (from the output you selected when inputting your stream settings above).

LVS4

  1. Navigate to the Livepeer Dashboard, log in, and select the stream name that you are currently using. This should now be marked as “Active.”

  2. Under the Health tab, the video you are streaming in through OBS should be visible.

LVS5