RTMP ingest process
The RTMP ingest process is similar to standard live streaming and requires an ingest domain and a streaming domain that have completed ICP filing. This topic describes the required steps.
RTMP stream ingest
Obtain an ingest domain and a streaming domain for which ICP filing is complete.
When you create a space, enter the ingest and streaming domain names in the Visual Edge Computing Service console or using the Visual Edge Computing Service API.
After the space is created, wait at least 30 seconds and then configure the CNAME record for your domain names.
Use the configured ingest domain to ingest an RTMP stream. For example, if your ingest domain is push.vs.aliyun.com, the ingest URL without authentication is
rtmp://push.vs.aliyun.com/live/StreamName.NoteVisual Edge Computing Service uses 'live' as the default app name for stream ingest.
For security, all monitoring streams must be authenticated using URL signing. For more information, see URL signing for Visual Edge Computing Service.
Use the signed ingest URL to ingest streams from cameras or smart devices that support the RTMP protocol.
To play a real-time monitoring stream, use a signed playback URL. The method for generating a signed playback URL is the same as for an ingest URL. Enter the URL into a player that supports live stream playback and click the play button.
Playback of real-time RTMP monitoring streams
Real-time streams ingested into Visual Edge Computing Service support playback using three protocols: RTMP, HTTP-FLV, and HLS.
The three types of playback addresses differ in the following ways:
Latency: HTTP-FLV and RTMP have lower latency and are suitable for low-latency playback scenarios. HLS has higher latency but better compatibility, which makes it suitable for scenarios that are not latency-sensitive but require playback on a wider range of devices.
Compatibility: HTTP-FLV and RTMP require a Flash player or a client player, whereas HLS can be played directly in a browser.
Comparison of RTMP, HLS, and HTTP-FLV protocols
Protocol Type | Advantages | Disadvantages | Latency | Features | Supported Platforms |
RTMP | Low latency |
| 1 s to 3 s | Persistent TCP connection | PC |
HLS |
| High latency | >10 s | Short-lived HTTP connection | PC and mobile devices |
HTTP-FLV |
| Requires SDK integration for playback | 1 s to 3 s | Persistent TCP connection | PC |