OBS Studio guide

OBS private stream: from OBS Studio to a private link

OBS Studio is free streaming software for Windows, Mac and Linux. With it, any camera you can plug into a computer (a webcam, a camcorder, a camera with a capture card) can be the camera of a bubble on BeamBubble. You get OBS's scenes and graphics, and your viewers get a private link that opens in their browser.

  • RTMPS, encrypted
  • Not public
  • Viewers need no app
A camera on a stand plugged into a laptop running a broadcasting app with a Start Streaming button, streaming to BeamBubble.
Any camera, a computer and OBS Studio, into a private bubble.
Why a private bubble

OBS, without going public

OBS is usually pointed at YouTube or Twitch, which are built for public audiences. Even an unlisted link there can be passed on, and you can't see who watched. Pointed at a bubble, the same OBS stream reaches only the people you invite, or those with the link (and PIN, if you set one), and you see each of them by name.

Ways to live stream privately, compared

  • OBS Studio on a Windows, Mac or Linux computer.
  • A camera OBS can see: a webcam, or a camcorder or camera through a capture card.
  • A bubble on BeamBubble. Make one free, for members or for anyone with the link.
  • An upload speed comfortably above the bitrate you choose, ideally over a cable.
Overview

How to stream from OBS to a private server

  1. Make a stream key

    In your bubble, choose Camera app on the Camera card and copy the RTMPS server and the key.

  2. Set up OBS

    Service Custom, the bubble's server and key, then the output settings below for a sharp picture.

  3. Go live

    Click Start Streaming in OBS and tap Go live in the bubble. Viewers open your link.

The setup

Setting up OBS Studio, step by step

1. In your bubble

  1. Under Advanced, on the Camera card, choose Camera app.
  2. Tap Make a stream key, then copy the RTMPS server and the key.
The Camera card under Advanced on a bubble's page, with Camera app chosen, showing the RTMPS server and the stream key with Copy buttons.

2. Where OBS sends the stream

In OBS, open Settings → Stream:

Setting Value
Service Custom…
Server rtmps://ingest.beambubble.com:1936/live
Stream Key The key from your bubble

Copy the server from your bubble rather than from here, in case it ever changes. If your OBS can't connect over RTMPS, the bubble also shows a plain RTMP server.

3. Output settings

OBS's default settings send B-frames and a keyframe only every few seconds. BeamBubble can take that, but it then re-encodes the video to 720p, and the server re-encodes only one stream at a time. With these settings, the picture goes into the bubble as it is, at full sharpness, and never waits for the re-encoder. Open Settings → Output, set Output Mode to Advanced, and on the Streaming tab:

Setting Value
Encoder x264, or your graphics card's H.264 encoder
Rate control CBR
Bitrate 4,000–6,000 kbit/s
Keyframe interval 1 s
Profile baseline
B-frames 0 (if the encoder shows this setting)

And in Settings → Video:

Setting Value
Output resolution 1920×1080 or 1280×720
FPS 30

Sound needs nothing special: OBS's AAC audio is fine.

Why these settings? H.264 with a keyframe every second and no B-frames, at most 1080p and 30 frames a second, can go into the bubble as it is. Anything else is re-encoded to 720p on the server, one stream at a time for the whole server (another waits until it's free), and video above 8 Mbit/s is re-encoded too, so every viewer can keep up.

4. Go live

  1. Click Start Streaming in OBS.
  2. Tap Go live in the bubble, on your phone or in a browser on the same computer. The bubble goes live as soon as the video arrives.
  3. The bubble page shows how the video comes in: as it is, or re-encoded with the setting to change.
  4. When you're done, tap Stop in the bubble, then Stop Streaming in OBS.

Graphics in two places? You can draw graphics in OBS, or use a BeamBubble overlay such as a scoreboard that you change from your phone. Pick one, so the screen doesn't get crowded.

Using OBS with BeamBubble's extras

  • The viewer list. See how many are watching, and who, on the bubble's page while OBS streams.
  • Recordings. The bubble records the live with any overlay burnt in, kept 7, 30 or 90 days. About recordings.
  • More cameras. In a bubble for people you invite, OBS can be one camera of up to three in a live, next to members' phones. Multi-camera.
  • The TV. Viewers send the stream to a TV with AirPlay, Chromecast or mirroring. Watch on TV.
FAQ

OBS streaming questions

How do I stream from OBS to a private server?

In OBS, go to Settings, Stream, choose Service Custom, and paste the server and stream key from your bubble's Camera card. Click Start Streaming, then Go live in the bubble. Only the bubble's viewers can watch.

OBS says it can't connect. What should I check?

Check that the bubble has a stream key and that you copied all of it. A new stream key stops the old one at once. If your network blocks port 1936, try the plain RTMP server from the bubble.

The bubble says the video is re-encoded. Is that a problem?

It still works for viewers, as long as the server's re-encoder is free (it handles one stream at a time). The bubble page names the reason, usually B-frames (set the profile to baseline) or the keyframe interval (set 1 s).

Can I stream 60 frames a second or 4K from OBS?

The bubble takes at most 1080p at 30 frames a second as it is, and viewers watch a 720p stream, which keeps it smooth for everyone. Faster or bigger video is re-encoded to 720p at 30.

Is the stream from OBS encrypted?

Yes, with the RTMPS server. Plain RTMP is there for setups that can't use RTMPS. Keep the stream key to yourself, and make a new one in the bubble if it's ever shared.

Who can watch my OBS stream?

Only your bubble's viewers: members you invite, or people with the secret link (and the PIN, if you set one). The stream isn't listed or searchable anywhere. How bubbles stay private.

Free to use today

Your people are waiting for the link.

Make a bubble in a minute, send the link, and go live from the phone in your pocket. Viewers watch in their browser, no app needed.