Skip to content

How to make a live stream

Daniel Neto edited this page Sep 3, 2023 · 20 revisions

To broadcast live to your AVideo Platform, you’ll need an app. This will take your video and audio and broadcast it to the platform which in turn will broadcast it to your audience.

AVideo requires you to use an RTMP Publisher tool. These tools are called a variety of fancy names such as “live streaming video encoders” and “live video tools”.

On a basic level, they take your video (for example your camera or a pre-recorded video) and stream it to your destination. It’s quite an intensive process and you’ll need a reasonably powerful computer or phone to do this.

From PC

The best free way to make a live stream we recommend you to download the OBS Studio. OBS is a free and open-source software for video recording and live streaming available for Windows, Mac, or Linux.

More RTMP Publishers:

  • OBS Studio
  • Streamlabs OBS
  • XSplit
  • Wirecast
  • vMix
  • Nvidia Shadowplay
  • Lightstream

Each of these software options comes with basic live streaming and recording features. This includes single-destination RTMP streaming, multiple video sources, and layouts, chroma-key (i.e. green screen), live switching, and custom transitions. However, each software has its own advantages, disadvantages, and ideal use cases which are important to consider before making your selection.

We have an "old" video that shows how to make a live stream from the PC

From Mobile

You can use our mobile APPs to directly stream into your site using our Meet app

if you will use the public meet server, make sure you are aware of the limits

image

image

If you are the only one connected on the Meet, only your camera will appear on the Livestream

The advantage of this is that your users will not need to copy and paste the URL and keys to make a live stream. once you log in you just click on the camera button and enjoy.

you can also purchase your White label APP here

YPT Media Live

YPT Media offers an exceptional live streaming feature directly from your mobile device. With this app, not only can you view live content, but you can also initiate your own live streams straight from your phone using the AVideo platform.

Other mobile apps

There are many other apps you can use, also with good quality.

For example, you can try Larix Broadcaster, that offers a version for iOS and also Android

Parameters

Basically, all you need to Livestream, from third-party software on the Devices Stream Info

You must provide the Server URL and the Stream name/key

image

Note: If you change your password you will also change the Server URL p parameter, so make sure you update the parameters in the app when you change the password

Permissions

In order for your users to be able to do live streams, it is necessary that you give them the correct permissions. To add the permission to make a stream go to the user management panel and edit a user to add

image

If you want to give the stream permission, automatically, to every new user, you can do it on the customizeUser plugin

image

Ideal Configuration for Live Streaming to Reduce Buffering

To ensure a smooth live stream with minimal buffering, it's important to have an optimal configuration. Here are the recommended settings:

  • Video Resolution: 1280x720
  • Video Bitrate: 2500 to 4000 kbps
  • Audio Bitrate: 128 to 256 kbps (stereo)
  • Encoder Preset: "faster" or "veryfast"
  • Keyframe Interval: 2 seconds

It's also important to ensure that you have a good connection with the server you're streaming to.

To ensure a successful broadcast, the live video must include both audio and video data, not exceed 8 hours, utilize recommended settings (example: must be H264/AAC), and not change settings mid-broadcast. Failure to meet these constraints can lead to unexpected termination of the stream, lower quality for viewers, and unexpected behavior.

Video Settings

Key Frame Size — Recommended 2 seconds. Do not exceed 4 seconds.

Resolution and Bitrate:

  • 1080p @ 60 FPS

    • Resolution: 1920x1080
    • Video Bitrate Range: 4,500-9,000 Kbps
  • 1080p @ 30 FPS

    • Resolution: 1920x1080
    • Video Bitrate Range: 3,000-6,000 Kbps
  • 720p @ 60 FPS

    • Resolution: 1280x720
    • Video Bitrate Range: 2,250-6,000 Kbps
  • 720p @ 30 FPS (Recommended)

    • Resolution: 1280x720
    • Video Bitrate Range: 1,500-4,000 Kbps
  • 480p @ 30 FPS

    • Resolution: 854x480
    • Video Bitrate Range: 600-2,000 Kbps
  • 360p

    • Resolution: 640x360
    • Video Bitrate Range: 400-1,000 Kbps

Protocol — RTMPS Streaming

Pixel Aspect Ratio — Aim for 16:9; if you are too far from this ratio we may not be able to support your stream

Video Codec

  • H.264, Level 4.1 for up to 1080p 30 FPS
  • H.264, Level 4.2 for 1080p 60 FPS

Audio Settings

  • Audio Codec — AAC low complexity
  • Sample Rate — 44.1kHz or 48kHz
  • Audio Bitrate — 128 kbps (preferred) to 256 kbps (do not exceed)
  • Channel Layout — Stereo
Clone this wiki locally