Workflow
Alibaba Cloud Visual Edge Computing Service provides connection, media processing, and distribution services for monitoring devices. You can use this service to easily connect monitoring devices using the RTMP or GB/T28181 protocol. You can also manage devices, record and store monitoring streams, take screenshots, and distribute live and historical streams for playback. Before you start, review the Visual Edge Computing Service limits.
Protocol connection
Visual Edge Computing Service currently supports two connection protocols:
- Push streams from devices using the RTMP protocol. This method directly pushes the live stream from a monitoring device to a Visual Edge Computing Service endpoint.
- Pull streams from devices using the GB/T28181 protocol. This method requires you to register the GB/T28181 device before you can pull the stream.
The following sections describe the workflow for each scenario:
Prerequisites
-
To access live and historical streams over the public network, you must have a domain name that has completed Internet Content Provider (ICP) filing. For more information, see ICP filing for a domain name.
Note- If you connect using the RTMP protocol, you must have an ingest domain name and a streaming domain name that have completed ICP filing.
- If you connect using the GB/T28181 protocol, you must have a streaming domain name that has completed ICP filing.
-
To record monitoring streams or take screenshots, you must activate Object Storage Service (OSS). OSS is used to store historical monitoring streams for playback and to store screenshots.
Note- The storage service uses your own bucket. Costs are calculated based on the standard pricing for OSS.
- To convert the format of recorded videos to other formats, such as MP4 or FLV, you must activate ApsaraVideo Media Processing (MPS).
Workflow
Complete the following basic operations for Visual Edge Computing Service in the Alibaba Cloud console:
- Activate Visual Edge Computing Service.
- Create a space and configure it.
- Configure a domain name and perform canonical name (CNAME) parsing.
- Configure URL signing.
- Add a GB/T28181 device and complete its registration. After the device is successfully registered, you can start pulling the stream.
Note For connections that use the GB/T28181 protocol, you must register the device on the camera, network video recorder (NVR), or video management platform. For more information, see GB/T28181 device registration. For connections that use the RTMP protocol, you can directly use the signed ingest URL to start pushing the stream.
- Obtain a signed playback URL, and use URL signing to play the live monitoring stream.
- To play historical monitoring streams or view screenshots, you must first configure a recording template and a screenshot template. After you apply the templates, the settings take effect for all new streams that are ingested or pulled.