/LLS-Player

低延时直播(Low-Latency Streaming,LLS)是网易云信推出的低延时、强同步、高质量的直播产品。低延时直播产品基于云信 WE-CAN 全球智能路由网络,为开发者提供毫秒级延时、多平台同步、高可靠高并发的直播服务。 集成网易云信播放器 SDK/NERTD 插件,实现毫秒级延时、稳定流畅的高质量直播场景。

Primary LanguageC++MIT LicenseMIT

Overview of GrowthEase Low Latency Player SDK

A low-latency player SDK is implemented by GrowthEase based on WebRTC. Developers only need to access the SDK and make small changes to the player to have low-latency ability of live streaming.

The SDK provides a set of simple and easy-to-use interfaces, allowing developers to quickly integrate the low-latency live streaming function into existing players by calling the API of the SDK. At the same time, the SDK also encapsulates the API into a kind of FFmpeg plug-in, which is a type of FFmpeg demuxer. Developers only need to compile the SDK and FFmpeg plug-in source code into their own FFmpeg, and do not need to modify the player.By replacing the playback URL, you can directly reuse the original process to have low-latency playback capabilities.

Features

  • Low-latency pull streaming, and high anti-weak network performance
  • Support OPUS and AAC, of which AAC supports ADTS and LATM, including AAC-LC, AAC-HE, AAC-HEv2
  • Support H264
  • Video callback H264 bit stream, audio callback PCM data
  • Support Windows platform

SDK component architecture

The SDK is mainly divided into three modules:

  • FFmpeg plug-in: Rtd Demuxer

  • RtdEngineImpl: WebRTC encapsulation layer, including API、engine creation、signaling establishment、media data reception and callback, etc.

  • WebRTC: Media establishment、data reception、packet sequencing and framing, etc.

SDK API call mode

  • FFmpeg plugin integration method

Directly put the src/rtd/ffmpeg/rtd_dec.c file and SDK dynamic library(rtd.dll) into FFmpeg and compile them together. The player does not need to be changed. Low-latency live streaming can be achieved simply by replacing the pull stream URL.

  • API integration method

Overview of Integration Methods

Windows Integration

Introduction in Chinese