On this page

How to use the Live Streaming service


Introduction to the Live Streaming service

The Live Streaming service is implemented based on the CDN service and provides the following functions:

  1. Stream-playing: Viewers play streams through a CDN, which enables your live-streamed content to achieve global reach.
  2. Recording: Record, output, and play the streams of your live-streamed content that have been published and forwarded to the CDN server, making your wonderful moments last forever.
  3. Screenshots: Moderate the screenshots that are taken at a certain interval during a live stream, and check whether indecent or harmful content exists for further content security.

When you need the above functions, you can activate the Live Streaming service. For pricing information about Live Streaming, see Pricing information about Live Streaming.

Note

Currently, the Live Streaming service is not available to all users. Only users who have purchased the corresponding product packages and have been confirmed by sales personnel can activate and configure this service. To activate the service, send an email to global_support@zegocloud.com or directly contact ZEGOCLOUD.

Activate the service

The following section describes how to activate the Live Streaming service.

  1. Log in to the ZEGOCLOUD Admin Console. Go to the project details page directly from the homepage or by choosing Projects > Project Management, where you need to click the corresponding project in the My Projects pane.
  1. On the Service Management tab, click Live Streaming, check the scenarios and notes, and click Activate.
  1. Read the user agreement, and click Ready to activate.
  1. Configure the Live Streaming service by performing the following steps. After configuration, you can use the service based on features you selected.
1

Configure the domain name and authentication information, and click Next.

Domain name: domain name provided by users that require the use of the CDN acceleration service for stream publishing and playing. The domain name is a set of server addresses that are easy to remember and use. Generally, a second-level domain name is used. Do not use a domain name related to ZEGOCLOUD.

  • Domain name: A second-level domain name is recommended. (ZEGOCLOUD-related domain is not allowed.)
  • Stream-publishing authentication: It is enabled by default to prevent illegal users from stealing your stream publishing URL for stream publishing elsewhere, resulting in traffic loss. For details, see CDN stream-publishing/stream-playing authentication.
  • Stream-playing authentication: It can be enabled for common projects as required and cannot be enabled for UIKits projects. Once it is enabled, your security will be further enhanced.
2

Configure features of the Live Streaming service.

Enable the features of Live Streaming as required and click Next.

  • CDN Stream playing: Once it is enabled, participants can play streams by stream ID. If it is disabled, they need to play streams by URL.
  • CDN Recording: Once it is enabled, the recording format and storage period can be configured.
  • CDN Screenshots: Once it is enabled, the screenshot storage period and frequency can be configured. If this feature is required, you need to contact ZEGOCLOUD technical support to enable it.
3

Configure the CNAME domain name for the Live Streaming service.

When this page appears, the application is being configured and it may take two working days to continue. Please wait.

ZEGOCLOUD will automatically generate domain names for CDN stream publishing, CDN stream playing, CDN VOD, and CDN screenshots based on the service domain name you provided. ZEGOCLOUD also assigns corresponding CNAME URLs. This process is expected to take one working day.

CNAME domain name: After you add an accelerated domain name in the ZEGOCLOUD Admin Console, the system will assign a corresponding "CNAME domain name" for the accelerated domain name.

Note

You need to configure a CNAME record on the domain name provider side and point your own domain name as CNAME to this "CNAME domain name". After the record takes effect, the CDN service carries on domain name resolution, and all requests to the domain name are transferred to the CDN node.

4

Complete Live Streaming configuration.

After CNAME configuration is completed, click CNAME configuration is complete, please continue. ZEGOCLOUD will allocate resources to the app, which is expected to take effect in one calendar day.

Configure HTTPS certificate

Live Streaming URLs are in HTTP format by default. For security reasons, you need to enable HTTPS on your web server when you want to play streams from Live Streaming. You can click Not Configured on the page to open the Configure HTTPS dialog box.

  1. Certificate name: The certificate name can be customized and used to identify the certificate.
  2. Content: Refer to the content of the SSL certificate.
  3. Key: Refer to the key of the SSL certificate.
  4. Expiration: Ten days before your certificate expires or on the day it expires, ZEGOCLOUD will send an internal notification or an email to your registered email address. You can update the certificate in time to prevent proper operations from being affected.

Previous

Offline Push Config

Next

Configure CNAME

On this page

Back to top