Updated on 2025-01-24 GMT+08:00

Quick Start

If you want to use Media Live with your own domain names, see Figure 1.

Figure 1 Getting started with Media Live

Table 1 describes how to get started with Media Live.

Table 1 Getting started with Media Live

No.

Operation

Description

1

Adding domain names

Add an ingest domain name and a streaming domain name to Media Live. You can register a level-1 domain name (for example, example.com) and use two level-2 domain names (for example, live-play.example.com and live-push.example.com) as the ingest domain name and streaming domain name.

2

Configuring CNAME records

Live assigns a CNAME record to the ingest domain name and streaming domain name. Add the CNAME records to your domains' DNS records to enable live streaming acceleration.

3

Creating a channel

You can create a channel before the media livestreaming starts.

The media file input type can be:

  • FLV_PULL: Stream push is not required. The streaming URL provided by the user is directly obtained and used by Media Live to push streams to the origin server.

    The streaming URL supports only HTTP.

  • RTMP_PUSH: An RTMP ingest domain name needs to be configured for stream push.
  • HLS_PULL: Stream push is not required. The streaming URL provided by the user is directly obtained and used by Media Live to push streams to the origin server.

    If Input Type is set to HLS_PULL, the media URLs provided users have the following constraints:

    • A streaming URL supports only HTTP and HTTPS.
    • Encrypted streams are not supported.
    • Audio-only streams are not supported.
    • Subtitling is not supported.
  • SRT_PULL: Stream push is not required. The streaming URL provided by the user is directly obtained and used by Media Live to push streams to the origin server.
  • SRT_PUSH: An SRT ingest domain name needs to be configured for stream push.
    To ensure reliability, channels of the SRT_PUSH input type must be able to:
    • Support primary and standby URLs. The encoder needs to push streams to both the primary and standby URLs.
    • Resume stream push when the stream push by the encoder is interrupted. The recommended interval for resuming stream push is shorter than the duration of a segment.

4

Pushing streams

You can use a third-party streaming tool such as Open Broadcaster Software (OBS) to push streams.

5

Streaming content

You can use a third-party player such as VLC media player to stream content.