How to stream from any source over RTMP to Sessions using OBS

  • Updated

No_Free.png

5_copy.jpg

RTMP streaming is simply sharing content from your computer (entire screen, separate app or window, webcam signal, etc.) to the Stage or Sessions on Hopin with the best video and audio quality possible.

Note: Streaming to the Sessions via RTMP requires a third-party application; we found OBS to be a popular option amongst streamers and is available for free here: https://obsproject.com/.

Before you begin...

Before you get started, there are some things that you should consider and certain limitations that may affect what you want from your Session.

When RTMP is not live, sessions can be used like any other session. Once RTMP is live:

  • You can have a maximum of 10 people on screen via RTMP to sessions, non RTMP sessions can have a max of 20
  • You will not be able to share Miro, Figma, YouTube
  • You will be able to share your screen but currently it will display very small
  • If your session is recorded, the RTMP stream will not be included in the recording 
  • The RTMP stream can only be stopped from the broadcast software, not from within the session
  • RTMP cannot be used in Expo Sessions
  • Attendees will not be able to view RTMP stream in sessions on the mobile app

Setting up the RTMP stream

  • Open the Hopin event Dashboard
  • Navigate to Venue > Sessions
  • Create a new session by clicking the blue Add Session button or click Edit to set up RTMP within an existing session 

Screenshot_2021-05-05_at_13.40.55.png

  • Find the RTMP settings section and click the checkbox Enable RTMP Streaming 

Screenshot_2021-05-05_at_13.42.36.png

  • In the next option box, select No Mirror since you are broadcasting directly from OBS into the session. Then hit Save

Note: If you'd like to copy/mirror an ongoing stream from the Stage or another Session, select Stage or Session as well as the name of the Stage or Session. 

  • Once the session is saved, click the Sessions tab of the event dashboard to find your list of sessions. You will now find a column containing the RTMP details of the session you just saved. 

Screenshot_2021-05-05_at_13.50.05.png

  • Click the RTMP Details to retrieve the RTMP URL and Stream Key. 

RTMP_details.png

Note: The first and preferred is the main RTMP server in place. Should any issues arise when connected to the preferred server, we recommend switching to the fallback provider.

  • Copy the Stream Key and RTMP URL 

Connecting OBS to the Session

  • Now let's open the OBS app
image3.png
  • Open the Settings menu on the bottom right corner of the app
  • Choose Stream tab on the left sidebar
  • Set Service option to Custom
  • Paste the Server (rtmp://global-live.hopin.to:5222/app) and the Stream Key (generates per event and is unique)
  • Click OK for changes to take effect

The Stream will now be directed from OBS to Hopin. We only need to choose the source Input capture: video capture device is your webcam, Window capture is sharing the app window, and Media Source is sharing video or audio from the file on your computer.

image4.png
  • Click on the plus (+) icon under the Sources menu
  • Choose Window Capture if you will be screen sharing (Perfect choice to stream your Zoom, Google Meet, or MS Teams call directly to Sessions on Hopin)
  • Choose the Window you will be sharing from (Zoom app or browser window)
  • Finally, with all Settings set, we can click the Start Streaming button at the bottom right.

That's it, your stream will be displayed in your Hopin Session within 15 seconds. To stop the stream, click Stop Streaming.

In case you are new to streaming, find below are our recommendations for streaming over OBS to the Session on Hopin.

Setting up OBS

Tip: The best quality you can get in Session over RTMP is using the following settings:

Resolution: 1920x1080p

Framerate: 30fps

Bitrate: 5000 kbps

Keyframe Interval: 2 seconds

image5.png
  • Open the Settings menu
  • Switch to Output on the left sidebar, set Output Mode to Advanced and select the Streaming tab on the top of the Settings menu
  • Set Bitrate to 5000 Kbps

Note: This is excessive and max bitrate supported. Going with 3500 Kbps will be sufficient for the Full HD 1080p stream. Check other options at our Recommended Encoder Settings guide.

Video settings

image6.png
  • Make sure the Base and Output Resolution is the same
  • Double-check the Aspect Ratio set to 16:9
  • Check the Common FPS Values to be 30

Tip: On a low internet bandwidth, you can cheat and stream with 1280x720 (Output Resolution). Most attendees will not be able to tell the difference.

Pro Settings

image7.png
  • Open the Advanced tab
  • Set the Color Format to NV12, Color Space to 709 and Color Range to Full

Note: In case you are not sure what to do, we recommend having someone from the tech team to be around during your event to help with RTMP settings and configuration.

 

Feel free to reach out to us at support@hopin.com in case you have questions or need assistance.

Was this article helpful?