All Products
Search
Document Center

ApsaraVideo Live:Development reference

Last Updated:Feb 25, 2025

This topic introduces three solutions for stream ingest and playback of Real-Time Streaming (RTS). You can choose one that best suits your needs.

Overview

RTS is a service designed to minimize live streaming latency. It supports three methods for stream ingest and playback:

  • Native RTS: integrates stream ingest and playback capabilities for RTS into your mobile applications.

  • Web RTS: builds stream ingest and playback capabilities for RTS on the web. This solution is compatible with various devices and operating systems.

  • Open Broadcaster Software (OBS): uses OBS to push RTS streams.

Native RTS

This solution enables the implementation of RTS on your iOS or Android applications, so your users can engage as streamers or viewers on their mobile devices.

Strengths:

  • High performance: You can use low-level APIs to achieve high efficiency and low latency.

  • Flexible customization: You can tailor parameters and logic to meet specific needs.

Scenarios:

This solution is ideal for latency-sensitive scenarios that require high streaming performance, such as international sports events broadcasting and high-end online education platforms.

It is well-suited for enterprises or teams with adequate resources for multi-platform development and maintenance.

Web RTS

This solution implements stream ingest and playback based on web technologies such as HTML5 and JavaScript, enabling low-latency live streaming on the web.

Strengths:

  • Cross-platform compatibility: Users can ingest and play streams using a mainstream browser on any device. No additional software is required.

  • Easy deployment and updates: Changes made on the server side take effect immediately on the client side, without the need for users to download or update applications.

Scenarios:

This solution is suitable for developers who want to quickly deploy the RTS service, especially when their target users are distributed across multiple devices and platforms. It is also a good choice for products aiming to test market response.

OBS

OBS is a popular open-source tool for video recording and live streaming. It can support RTS through plug-ins or built-ins.

Strengths:

  • Ease of use: OBS offers an intuitive interface and rich features for a quick setup.

  • Extensibility: A large community and an extensive plug-in ecosystem allow for the addition of new features as needed.

  • Cross-platform support: OBS is compatible with multiple operating systems, including Windows, macOS, and Linux.

Scenarios:

This convenient solution is ideal for individual creators, small teams, and users who want to flexibly set up live content.