Strength | Description |
Playback with millisecond latency | The latency is kept within 1s thanks to the use of UDP, as opposed to 3-5s in traditional live streaming. This, along with excellent instant streaming performance and low stuttering rate, guarantees a superior streaming experience. |
Diverse features and smooth migration | LEB integrates a wide range of features including stream publishing, transcoding, recording, screenshot, porn detection, and playback. It allows smooth migration from standard live streaming. |
Easy-to-use, secure, and reliable | The use of a standard protocol makes integration easy. You can play live video on Chrome and Safari without installing any plugins. In addition, the playback protocol encrypts video by default for improved security and reliability. |
Scenario | Description |
Sports event | LEB offers ultra-low-latency streaming for sports events. It brings sports content to audience at low latency, allowing audience to learn what’s happening in real time. |
E-commerce streaming | Some e-commerce streaming scenarios, for example, online auctions and sales promotion, require extremely low latency. LEB’s ability to stream at ultra-low latency ensures that hosts and audience get real-time feedback from each other, improving online shopping experience. |
Online classes | LEB can be used for online classes. Its ability to stream at ultra-low latency allows teachers and students to interact with each other as they do in offline classes. |
Online quizzes | Due to latency, some online quizzes have to insert extra frames at the audience end to ensure that the host and audience are in sync with each other. This is not necessary if you use LEB, whose ultra-low-latency streaming capability makes sure that the two sides are in sync. It helps you implement online quizzes more easily and deliver smoother experience. |
Showrooms | LEB can significantly improve the experience of latency-sensitive interactions such as gift giving in live showrooms. |
V2TXLivePusher
for publishing. LEB supports WebRTC protocols and uses the standard extension method. All URLs in LEB start with webrtc://
.public class MApplication extends Application {@Overridepublic void onCreate() {super.onCreate();String licenceURL = ""; // your licence urlString licenceKey = ""; // your licence keyV2TXLivePremier.setEnvironment("GDPR"); // set your environmentV2TXLivePremier.setLicence(this, licenceURL, licenceKey);V2TXLivePremier.setObserver(new V2TXLivePremierObserver() {@Overridepublic void onLicenceLoaded(int result, String reason) {Log.i(TAG, "onLicenceLoaded: result:" + result + ", reason:" + reason);}});}
webrtc://
, as in:webrtc://{Domain}/{AppName}/{StreamName}
Field | Description |
webrtc:// | Prefix |
Domain | Domain name |
AppName | Application name, which is live by default. It specifies the storage path of a live streaming file. |
StreamName | Stream name, which is the unique identifier of a stream |
V2TXLivePlayer
object for LEB. For details, see the code below (make sure that you pass in the correct URL).// Create a V2TXLivePlayer objectV2TXLivePlayer player = new V2TXLivePlayerImpl(mContext);player.setObserver(new MyPlayerObserver(playerView));player.setRenderView(mSurfaceView);// Pass in the low-latency playback URL to start playbackplayer.startPlay("webrtc://{Domain}/{AppName}/{StreamName}");
V2TXLivePlayer *player = [[V2TXLivePlayer alloc] init];[player setObserver:self];[player setRenderView:videoView];[player startPlay:@"webrtc://{Domain}/{AppName}/{StreamName}"];
Was this page helpful?