Web RTS SDK overview

更新时间:
复制 MD 格式

Web RTS SDK enables low-latency stream ingest and playback in browsers over the RTS protocol without requiring a native app.

Introduction

Web RTS SDK is a JavaScript library for low-latency stream ingest and playback over the RTS protocol in browsers. It does not support regular live streaming. You can use the SDK on mobile devices and PCs without installing a native app.

Supported browser versions

Stream ingest and playback capabilities depend on the browser, not the web page code. The following table lists supported browser versions. For more information, seeBest practices for RTS playback.

Operating system Browser Minimum version SDK version
Windows Chrome 63 -
Firefox 62 -
Opera 15 -
Edge 79 V2.0.3 or later
QQ Browser 63 (with Chrome kernel) V2.1.0 or later
macOS Chrome 63 -
Safari 11 -
Firefox 62 -
Opera 15 -
Edge 79 V2.0.3 or later
QQ Browser 63 (with Chrome kernel) V2.1.0 or later
Android Chrome 63 -
Edge 79 V2.0.3 or later
WeChat built-in browser 7.0.9 -
QQ Browser 63 (with Chrome kernel) V2.1.0 or later
Huawei Browser 63 (with Chrome kernel) V2.1.0 or later
Oppo Browser and OnePlus Browser 40.7.39.1 (with HeyTapBrowser kernel) V2.1.0 or later
iOS Safari 11 -
Edge 79 V2.0.3 or later
WeChat built-in browser 7.0.9 -
DingTalk built-in browser 11.2.5 (iOS) -
QQ Browser 11 (with Safari kernel) V2.1.0 or later
Note Configure an SSL certificate for the source domain of your RTS stream. Browsers enforce WebRTC security policies that require SSL; otherwise, playback fails.

Methods

The latest Web RTS SDK version includes updated methods and adds RTS stream ingest support, compared with V1.1.0 to V1.2.4. We recommend the latest version. For more information, seeAPI reference.

For information about the methods in earlier versions of Web RTS SDK, see Methods (V1.1.0 to V1.2.4).

Error codes

For information about error codes that you may encounter when you use the latest version of Web RTS SDK, see Error codes.

For information about error codes that you may encounter when you use Web RTS SDK V1.1.0 to V1.2.4, see Error codes (V1.1.0 to V1.2.4).