Live streaming for online education

Updated at:

This document describes best practices for live streaming in online education.

Scenario description

This solution enables live streaming for online education. It uses ApsaraVideo Live to enable push/pull streaming on mobile devices. Mobile clients use Message Queue for MQTT to send and receive messages. As messages are forwarded, Content Moderation reviews the content for compliance. Sent messages can be stored in Tablestore.

Problems solved

  • Enables reliable push/pull streaming from mobile clients during live video sessions.

  • Provides secure, moderated messaging between mobile clients and offers cost-effective message storage.

Deployment architecture diagram

livestreaming

Services used

  • Message Queue for Apache RocketMQ

    Message Queue for Apache RocketMQ is a distributed message middleware developed by Alibaba, contributed to the Apache Software Foundation, and maintained in collaboration with the open-source community. Battle-tested for over 13 years within Alibaba Group, this service handles core transaction workloads and high-concurrency scenarios like the 11.11 Global Shopping Festival. It provides low latency, high concurrency, high availability, and high reliability, and can handle trillion-level data peaks.

    For more information about Message Queue for Apache RocketMQ, see the Message Queue for Apache RocketMQ product details page.

  • Message Queue for MQTT

    Message Queue for MQTT is a messaging service designed for the mobile internet and the Internet of Things (IoT). It is used in various scenarios, including interactive live streaming, financial payments, smart catering, instant messaging, mobile apps, smart devices, and connected vehicles. With full support for protocols like MQTT and WebSocket, it enables bidirectional communication between devices and the cloud for C2C, C2B, and B2C messaging. The service supports tens of millions of concurrent devices and messages.

    For more information about Message Queue for MQTT, see the Message Queue for MQTT Product Details page.

  • Content Moderation

    Powered by deep learning technology, Content Moderation provides intelligent risk detection for multimedia content, including images, videos, audio, and text. It helps you mitigate the risk of non-compliant content, such as pornographic and terrorism-related material, while significantly reducing manual review costs.

  • Tablestore

    Tablestore is a serverless, NoSQL, multi-model database developed by Alibaba Cloud for storing massive volumes of structured data. It is widely used in scenarios such as social networking, IoT, artificial intelligence (AI), metadata management, and big data. Tablestore offers several data models, including an HBase-compatible Wide Column model, a Timeline model for messaging, and a Timestream model for time-series and spatial data. The service supports petabyte-scale storage, tens of millions of TPS, and millisecond-level latency.

    For more information, see the Tablestore Product Details page.

  • ApsaraVideo Live

    ApsaraVideo Live is an audio and video live streaming platform built on content ingestion and distribution networks and large-scale, distributed, real-time video processing technologies (including Narrowband HD™). It provides an easy-to-integrate, low-latency, high-concurrency service for smooth, high-definition live audio and video streaming.

    For more information, see the ApsaraVideo Live Product Details page.

Details

For details, see Best Practices for Live Streaming in Online Education.

More best practices

To view best practices for other Alibaba Cloud products, see Alibaba Cloud Best Practices.