This topic describes how to use the live URL generator to generate ingest and streaming URLs.
Prerequisites
A streaming domain is added. For more information, see Add an accelerated domain name.
(Optional) An ingest domain is added and associated with a streaming domain. This is required if you want to generate ingest URLs. For more information, see Add an accelerated domain name and Associate a streaming domain with an ingest domain.
NoteIf you need to only pull streams, the ingest domain is not required.
(Optional) A transcoding template is configured. This is required if you need to obtain streaming URLs for the transcoded stream. For more information, see Transcoding management.
Background information
The live URL generator can generate ingest URLs and streaming URLs, including streaming URLs for the original quality stream and the transcoded stream. You must configure a transcoding template before you generate streaming URLs for the transcoded stream.
A streaming URL can be used by ApsaraVideo Player SDK or third-party software, such as VLC, to play the stream. Streaming URLs for the transcoded stream can meet the requirements of different clients and network environments.
An ingest URL can be used by Push SDK or third-party software, such as Open Broadcaster Software (OBS), to ingest the stream.
Procedure
- Log on to the ApsaraVideo Live console.
In the left-side navigation pane, choose .
On the Live URL Generator tab, configure the parameters described in the following table.
Parameter
Description
Streaming Domain
Select a streaming domain from the Streaming Domain drop-down list.
Authentication
By default, Type A is used and the validity period is 30 minutes.
NoteFor information about how to modify the validity period, see Configure URL signing.
Ingest Domain
If you want to generate ingest URLs, you must associate an ingest domain with the specified streaming domain. The associated ingest domain is automatically selected.
If you need to only pull streams, leave this parameter empty.
AppName
The name of the application.
NoteThe name can be up to 256 characters in length and can contain digits, letters, hyphens (-), underscores (_), and equal signs (=).
StreamName
The name of the stream.
NoteThe name can be up to 256 characters in length and can contain digits, letters, hyphens (-), underscores (_), and equal signs (=).
Transcoding Template
If you specify a transcoding template that you have configured, the generator generates streaming URLs for the transcoded stream. If you leave this parameter empty, the generator generates streaming URLs for the original quality stream.
Click Generate URLs to generate ingest and streaming URLs.
NoteBefore you use a URL in the Real-Time Streaming (RTS) format, you must enable the RTS feature. For more information, see Enable RTS.
If stream delay is not configured, streaming URLs for the original quality stream are generated. If stream delay is configured, streaming URLs for the original quality stream and the delayed stream are generated. To play the delayed stream, use the URLs for delayed streaming.