tencent cloud

Mobile Live Video Broadcasting

Release Notes and Announcements
TUILiveKit Release Notes
Live SDK Release Notes
User Guide
Product Introduction
Overview
Strengths
Performance Statistics
Concepts
Purchase Guide
TRTC Live Billing Overview
Billing of Video Live Component
Activating the Service (TUILiveKit)
Free Demo
Demo
Run Demo(TUILiveKit)
Integration Guide
Video Live Streaming
Preparation
Host Live Streaming
Audience Viewing
Live Stream List Live Stream List
Voice Chat Room
Preparation
Host Live Streaming
Audience Viewing
Live Stream List
Live Streaming Kit
Live Streaming Kit(Electron Desktop Application)
Live Streaming Kit(Web Desktop Browser)
Live Broadcast Monitoring
Monitoring Webpage (Web Desktop Browser React)
Monitoring Webpage (Web Desktop Browser Vue)
UI Customization
Live Stream Video Component
Video Source Editing Canvas
Audience List Component
Barrage Component
Media Source Configuration Panel
Link Management Panel
Live Gift Component
No UI Integration
Video Live Streaming
Voice Chat Room
Feature Guide
Follow Anchors (TUILiveKit)
Ultimate Image Quality (TUILiveKit)
Push Media Stream Into Room (TUILiveKit)
Gift System (TUILiveKit)
Client APIs
Android
iOS
Web
Server APIs (TUILiveKit)
Account System
REST API
Third-Party Webhooks
Error Codes (TUILiveKit)
FAQs
Platform Compilation
User Authentication
Live SDK
Product Introduction
Purchase Guide
Free Demo
Free Trial License
SDK Download
Licenses
Advanced Features
Client API
FAQs
Integration (No UI)
API Documentation
OSS information
OSS Attribution Notice

Latency

Modo Foco
Tamanho da Fonte
Última atualização: 2024-01-13 15:49:41
If you publish streams via RTMP and play streams via HTTP-FLV, the latency is generally about 2-3 seconds. If you experience high latency, follow the steps below to troubleshoot the problem.

Step 1. Check your playback protocol

The latency tends to be high if you use HLS (M3U8) for playback. HLS is a streaming protocol developed by Apple. It works by breaking streams into (usually 3 or 4) TS segments of 5 seconds or longer, which results in an overall latency of 10-30 seconds.
Therefore, if you have to use HLS (M3U8) for playback, you can reduce latency by cutting the number of segments or the length of each segment, but this may increase stuttering. You can submit a ticket or contact our technical support engineers for help.

Step 2. Check player settings

The player of the MLVB SDK supports three latency control modes: Speedy, Smooth, and Auto. For more information about their settings, please see Latency Control.
Speedy: This mode keeps latency at 2-3 seconds or lower in most application scenarios and is suitable for live showrooms.
Smooth: This mode keeps latency at 5 seconds or lower in most application scenarios and is suitable for application scenarios that require smooth playback but are not sensitive to latency, such as game streaming.


Step 3. Watermark videos on the client side

Tencent Cloud allows you to watermark videos in the cloud, but this will increase latency by 1-2 seconds. Therefore, if you use the MLVB SDK, we recommend you watermark videos at the host end instead of in the cloud to reduce latency.

Step 4. Check third-party publishers

We guarantee superior streaming experience via our integrated solution, but if you use third-party software to publish streams, we recommend that you compare your publisher with Tencent Cloud’s using the trial demo of the MLVB SDK to see if your publisher is the cause of high latency. Many third-party publishers tend to keep increasing the buffer size to mitigate the problem of low upstream bandwidth.

Step 5. Check OBS settings

If you use OBS to publish streams and experience high latency, check your configuration against Push via OBS. Make sure you set the keyframe interval to 1 or 2 seconds.

Step 6. Use LEB

If none of the above solves your problem, you can try using Tencent Cloud’s LEB service, which features lower latency than LVB and offers streaming with millisecond latency. For details, please see Live Event Broadcasting (LEB).

Ajuda e Suporte

Esta página foi útil?

comentários