How to use OBS Studio as an external encoder for Microsoft Teams and Stream Live Events

Hi All,

recently Microsft published a list of video encoders tested for Live streaming with Microsoft Stream (
One of this products is OBS Studio, a free and open source software for video recording and live streamig (

This is a great news and big improvement on live events direction compared to Skype for Business.
This area (meetings, meetings recording and live events) is definitely the one that I love in Teams (in conjunction with Stream).

Note: before you go on, it’s a good idea to read this article to understand differences in Live events between Teams, Stream and Yammer
Live events across Microsoft 365 in Yammer, Microsoft Teams, and Microsoft Stream

In this article you will find:
– Live Events with Microsoft Teams
– Live Events with Microsoft Stream
– OBS Studio setup
– OBS Studio streaming

If you want to  use OBS Studio with Yammer Live Event read this new article

Live Events with Microsoft Teams

  1. Click on Meetings tab -> Schedule a meetingobs_01
  2. Be careful to click on the arrow to open the meeting type window and choose New live event
  3. Fill meeting informations and click Next
  4. Now you have to choose Live event settings.
    These are the default settings, Org-wide and Teams as producer
    But we want to use an external encoder like OBS Studio, so we need to change the production type to External encoder.
    Note: doing that will greyed out the Public option.
    This table show you why: Who can watch live events?
  5. Meeting is ready and published in Stream.
    Click Join to start the pre-live setup
  6. When you join the live meeting you will see a window like this one.
    Note that the meeting is powered by Stream, that you are Offline and follow the instruction on the left.
    First of all you have to click Start setup to prepare the live meeting
  7. Wait few seconds…
  8. Now the live meeting is ready to accept incoming stream from your external encoder (OBS Studio in this article).
    Note that you are now in Pre-Live status.
    Copy the Server Ingest URL on the right, we’ll use it with OBS Studio later

Live Events with Microsoft Stream

  1. Go to Office 365 Portal and open Stream.
    Click on Create -> Live event
  2. Fill meeting informations and click Save
  3. After the event is saved, you will see the informations to send the stream from an external encoder. In Select encoder choose Configure manually because OBS Studio is not listed (yet).
    Note also that the Live event is saved but not published. Click on Publish now to set the event public to your Company.To go in Pre-Live status click on Start setup.
  4. Few seconds after, the live event is ready
  5. Now you are in Pre-Live status.
    Copy the Server Ingest URL, we’ll use it with OBS Studio later

OBS Studio setup

As said before, OBS Studio is a free and open source software for video recording and live streamig, you can download it from the official site

First of all, there is a Portable Edition (in my utopian world every program should be Portable!), plus the program is free, plus there are many plug-in (,  and last but not least it’s very stable, I’ve used it during many tests without any issue.

It’s important to understand that this article is not a guide to OBS Studio (I’ll write other article on this program in the future), I’ll give you only the basic informations to start sending video streams to Teams and Microsoft Stream.

OBS Studio first impression is a bit “hard”. This is the main windowobs_15

In this article I’ll add few sources to compose the video layout.

Desktop with PowerPoint presentation

  1. In Sources click on the + icon -> Display Captureobs_16
  2. Select Create new then inser the name of the source (for example Display 2)
  3. Choose the correct display where PowerPoint is open
  4. The new Dysplay 2 source is placed in upper-left corner.
    To crop the area hold the Alt key and drag the bounding box.
    The edges will change to green to show it’s being cropped
    Drag the bounding box to resizeobs_20

Video capture device(s)

  1. Now add two different cameras.
    In Sources click on the + icon -> Video Capture Device
  2. Select Create new then inser the name of the source (for example CAM1)obs_21
  3. In Device choose the right cameraobs_22
  4. Repeat this step to add a second camera attached to the same PC.
    In this example I have a Logitech Rally Camera connected to my laptopobs_23
  5. Place CAM1 and CAM2 where you want on the scene

Scrolling text

  1. To finish the scene composition, we can add some scrolling text, just to show you how powerful is OBS Studio
    In Sources click on the + icon -> Text (GDI+)
  2. Select Create new then inser the name of the source (for example Scrolling Text)obs_28
  3. Insert the text you want than click OK
  4. Select the new source, right-click on it then select Filters
  5. In Effect Filters click on the + icon -> Scroll
  6. Choose the Horizontal Speed you prefer, then click Close
  7. Place and resize the scrolling text object where you want
    The scene should be something like this one.

OBS Studio streaming

Now the final step, configure OBS Studio to send the video stream to Microsoft Teams or Microsoft Stream (the process is the same).

  1. In Controls click on Settings
  2. Select Stream, then Custom Streaming Server in Stream Type
  3. In Microsoft Teams copy the Server Ingest URL
    If the Live Event is created in Stream, copy the Server Ingest URL from Stream
  4.  Paste the Server Ingest URL in OBS Studio Settings
    Make SURE you enter something as Stream key, it’s not important what you enter, a random numer is perfect, but is MANDATORY to add something here, then click OKobs_39.jpg
  5. Click Start Streaming in Controls to start video output to Teams or Streams
  6. After few seconds you will start to see the video stream from OBS Studio in Microsoft Teams
    This is the same in Microsoft Stream (with a different Server Ingest URL)

That’s all. Enjoy streaming!

In future article I’ll explain how to use OBS Studio with Teams, Stream and NewTek NDI free tools (

Best Regards


9 thoughts on “How to use OBS Studio as an external encoder for Microsoft Teams and Stream Live Events

Add yours

  1. Hi,
    I’m trying to tun OBS with microsoftstream but keep on getting error “invalid path or connection url” what can be the issue?? I’ve added admin authentication to the stream settings… can it be it just takes time from when I create an even until I can access it via OBS?
    Thank you


    1. Hi Chani,
      have you created a private or public (anonymous) Live Event?
      Because you cannot use (at this moment) an External Encoder with a public Live Event.

      The RTMP link is immediate, have you entered the random Stream Key in OBS?


      1. Thank you so much, how do I know if it’s a private or public event? I created it while logged onto microsoftstream through create live event


      2. You choose it during the Live Event creation wizard. You need to choose Org-Wide to have External Encoder available. Please read carefully my guide above to check every step.


Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Blog at

Up ↑

%d bloggers like this: