Recommended encoder settings for live streaming
Overview
This article explains the recommended live encoder settings for live streaming to Lightcast.
It covers base video and audio settings, RTMP and SRT ingestion, SRT latency, bandwidth considerations, pre-broadcast checks, and additional recommendations for 24/7 Linear Streams.
When to use recommended live encoder settings
Use these settings when you are configuring a hardware or software encoder to send a live stream to a Live Events Channel or Linear Stream Channel in the Media Cloud.
These recommendations apply to most supported encoders, including hardware encoders, software encoders, and cameras with built-in encoders that can send a supported stream to Lightcast.
For encoder-specific setup steps, see the related articles for OBS, Wirecast, vMix, or mobile streaming apps.
How it works
Your encoder sends a live video and audio signal to a LIVE Channel. The Media Cloud receives the stream and delivers it to your connected platforms, apps, and embedded players.
Hardware and software encoders use the same base settings. For the best compatibility across web players, mobile devices, TV apps, and other supported platforms, your encoder should send H.264 video and AAC audio.
You can send your stream to Lightcast using either RTMP or SRT. RTMP is widely supported and works well for many standard streaming setups. SRT can provide a more resilient connection between your encoder and Lightcast, especially when streaming over networks with packet loss, variable bandwidth, or longer geographic distances.
Instructions
Step 1
Configure your encoder with the recommended base settings.
Setting | Recommended value |
|---|---|
Video Codec | H.264 |
Audio Codec | AAC |
Audio Bitrate | 128 kbps |
Audio Sample Rate | 44.1 kHz or 48 kHz |
Bitrate Mode/Rate Control | CBR |
Keyframe Interval | 2 seconds |
Frames Per Second for 4K | 60 FPS (Remove completely - Eric and Josh say yes, waiting on Ionatan's response) |
Frames Per Second | 30 FPS |
H.264 Profile | High recommended; Baseline may be used when required for device or encoder compatibility |
Higher frame rates may require higher bitrates and more upload bandwidth. For most live streaming workflows, 30 FPS is recommended unless your setup has been specifically configured and tested for a higher frame rate.
Step 2
Choose your streaming resolution and bitrate.
Your bitrate should match your stream resolution, encoder capacity, and available upload speed.
Resolution | Recommended bitrate |
|---|---|
720p | 2,000–2,500 kbps |
1080p | 5,000–8,000 kbps |
For full bitrate and resolution recommendations, review the Live Streaming Tutorial → Encoder Configuration → Recommended Encoder Settings guide.
For best results, your available upload bandwidth should be at least twice the total bitrate of your stream, including video and audio. This provides additional capacity for network fluctuations and helps maintain a stable live stream.
Step 3
Choose your ingestion method.
Lightcast supports RTMP and SRT ingestion for supported LIVE Channels.
RTMP is widely supported and works well for most standard streaming setups.
SRT can provide a more resilient connection between your encoder and Lightcast, especially when streaming over networks with packet loss, variable bandwidth, or longer geographic distances.
For step-by-step instructions on finding your Stream Key, CDN Access Point, or SRT Streaming URL, see How to find your LIVE Channel stream credentials.
Step 4
If you are using SRT, configure the SRT latency setting in your encoder.
The recommended SRT latency setting is 2000 ms.
Important: Do not configure SRT latency above 3000 ms. The maximum supported SRT latency is 3000 ms.
You may lower the latency if:
You are streaming from a stable, high-quality network
Your encoder is located in the same country or region as the ingest server
You are not experiencing packet loss or instability
Lowering the SRT latency setting can reduce transport delay between your encoder and the ingest server, but it also reduces the amount of time SRT has to recover lost packets. If the stream becomes unstable, increase the latency up to the maximum of 3000 ms.
Step 5
Start streaming from your encoder and confirm that the stream appears on the correct LIVE Channel in the Media Cloud.
Verify that both video and audio are playing correctly and that the stream remains stable before beginning your broadcast.
Recommended settings for 24/7 Linear Streams
Because 24/7 Linear Streams are intended to run continuously, use a dedicated and stable streaming environment whenever possible. Your encoder, local network, internet connection, and streaming location should be able to support uninterrupted, long-running broadcasts.
For critical or continuous streams, we recommend:
Using a dedicated hardware encoder when possible
Using a stable wired internet connection instead of Wi-Fi
Avoiding shared or general-use networks for the encoder
Making sure sufficient upload bandwidth is available at all times
Using a conservative bitrate if only one bitrate can be sent
Considering Adaptive Bitrate Streaming or Multi-Bitrate Streaming if your Channel is configured for it and your encoder or network setup can support it
Software encoders running on general-use computers may be more vulnerable to interruptions caused by software updates, CPU load, background applications, local network issues, or shared internet usage.
Adaptive Bitrate Streaming and Multi-Bitrate Streaming can improve viewer playback across different connection speeds, but these workflows require the LIVE Channel to be configured for bitrate-adaptive delivery before you adjust your encoder setup.
For more information, see Understanding multi-bitrate live streaming and Understanding Adaptive Bitrate Streaming for live streams.
Before you go live
Before your scheduled broadcast begins:
Test your stream before the scheduled broadcast
Confirm that video and audio are received correctly
Verify that your upload bandwidth remains comfortably above your total stream bitrate
Use a wired network connection whenever possible
Avoid large uploads, downloads, backups, or other bandwidth-heavy activity during the broadcast
FAQs
Do hardware and software encoders use different settings?
No. The recommended base settings are the same for hardware and software encoders.
For most workflows, use H.264 video, AAC audio, CBR rate control, a 2-second keyframe interval, 30 FPS, and an appropriate bitrate for your resolution and upload speed.
Should I use RTMP or SRT?
RTMP is widely supported and works well for many standard streaming setups.
SRT is recommended when you need a more resilient connection between your encoder and Lightcast, especially for remote locations, unstable networks, or longer geographic distances.
What SRT latency setting should be used?
The recommended SRT latency setting is 2000 ms. The maximum supported SRT latency is 3000 ms.
Do not configure SRT latency above 3000 ms.
If your stream is unstable, increase the latency up to 3000 ms. If your network is very stable and your encoder is close to the ingest server, you may be able to use a lower latency setting.
How much upload speed is needed for live streaming?
Your available upload bandwidth should be at least twice the total bitrate of your stream, including video and audio.
For example, if your combined video and audio bitrate is 3 Mbps, your available upload bandwidth should be at least 6 Mbps.
My camera has its own encoder. Can I use it for streaming?
Yes, if the camera’s built-in encoder can send a supported stream using the required live encoder settings.
For most encoder-based workflows, use RTMP or SRT with H.264 video and AAC audio.
Can the bitrate be changed after the stream is already configured?
Yes. You can adjust the bitrate in your encoder settings, but changes should be tested before a live broadcast whenever possible.
If you are using Multi-Bitrate Streaming or Adaptive Bitrate Streaming, make sure any bitrate changes still match the Channel configuration.
Why is H.264 video and AAC audio recommended?
H.264 video and AAC audio help support reliable playback across modern web players, mobile devices, TV apps, and other supported platforms.
Should I use High or Baseline for the H.264 Profile?
High is recommended for most live streaming workflows.
Baseline may be used when required for device compatibility, encoder compatibility, or a specific streaming setup.
Are 24/7 Linear Streams different from Live Events?
Yes. A Live Event has a scheduled start time and end time. A 24/7 Linear Stream is intended to run continuously.
Because Linear Streams run continuously, they usually require a more stable encoder setup, stronger network reliability, and more conservative bitrate planning.
