All Documents
Current Document

Content is empty

If you don't find the content you expect, please try another search term

Documentation

KLS console guide

Last updated:2020-11-26 20:12:12

About KLS

Backed by the premium Infrastructure as a Service (IaaS) infrastructure of Kingsoft Cloud and having stood the test of the market, Kingsoft Cloud Live Service (KLS) provides you with top-notch cloud live streaming services. KLS provides high-concurrency video streaming with a peak record of 2 million concurrent visits for a single customer. KLS supports live streaming over Real-Time Messaging Protocol (RTMP), HTTP Live Streaming (HLS), and HDL, H.264 and H.265 encoding, and client SDKs.

KLS console instructions

1. Log in to the console

Go to the official website of Kingsoft Cloud, click Console in the upper-right corner, and then enter your username and password to log in, as shown in the following figures. On the console page that appears, click Dashboard and then KLS in Video Services. Alternatively, click Products and Services in the left navigation pane and then click KLS in Video Services.

image.png

image.png

2. Live Overview

The Live Overview page gives you a glimpse of the service status, overall condition, detailed statistics, and trend analysis of your live streaming service. You can view the current online users, current live streams, storage consumed, daily peak bandwidth, monthly peak bandwidth, daily traffic, and monthly traffic.

image.png

3. Domain Manage

3.1 Basic information

On the Domain Manage page, you can enable or disable and manage various features related to your live streaming service. If you have multiple live streaming spaces (uniquenames), find the live streaming space that you want to use, and click Domain Setting in the Operation column. A default uniquename is provided for new users. On the page that appears, click Add Push Stream Domain Name, Add Pull Stream Domain Name, and Create New App, respectively, and then set related parameters to map ingest domains, streaming domains, and apps to the current live streaming space (uniquespace). The app live is provided by default. You can map multiple ingest domains and streaming domains to one live streaming space in console v4.0 and later.

image.png

3.2 Push stream settings

Find the ingest domain for which you want to configure push stream information, click Manage, and then set related service parameters. On the configuration page that appears, you can set the playback delay (which is 5 seconds by default) for HLS videos and a timeout (which is 20 seconds by default) for streaming interruption. You can also enable or disable live streaming status notification. If you enable this feature, you must also specify the callback URLs for the start of stream pushing and the end of stream pulling.

image.png image.png

3.3 Recording settings

(Please first contact technical support to activate relevant services.)

You can enable or disable the recording feature on the recording settings page. If you enable this feature, you must also enable HLS recording and specify the notification URL and the location where recording files are stored. You can choose whether to enable the MP4 recording format. After you specify required parameters, click Save. To use this feature, you must activate Kingsoft Cloud Standard Storage Service (KS3) and create buckets to store the recording files. To ensure the accuracy of statistics data, do not store recordings and screenshots in the same bucket.

image.png

3.4 Live Screenshot

(Please first contact technical support to activate relevant services.)

You can enable or disable the screenshot feature on the screenshot settings page. If you enable this feature, you must also specify the notification URL, capture frequency, and location where screenshot files are stored. You can also enable or disable screenshot overwrite. After you specify required parameters, click Save. To use this feature, you must activate KS3 and create buckets to store the screenshots. To ensure the accuracy of statistics data, do not store recordings and screenshots in the same bucket.

image.png

3.5 Transcoding template

On the transcoding template page, you can add, edit, or delete transcoding templates after you select an app. Transcoding templates are app-specific. The creation or editing of a transcoding template applies to the same app under all domain names.

image.png

Create a transcoding template: You can specify the name and description of the template, and enable or disable smart transcoding. If you enable smart transcoding, you must also specify a callback URL for smart transcoding, select the output format, and then click Save. Only four output formats are supported.

image.png

Watermark settings: Click Add Watermark to set watermark information. Choose a location to store the watermark and select a watermark file from your local storage. Specify the X and Y values to set the location of the watermark. You can use a negative value to mean the opposite direction. In advanced settings, you can enable or disable auto zooming. If you enable auto zooming, you must also specify an ideal resolution. To use this feature, you must activate KS3 and create buckets to store the watermark files.

image.png

3.6 Security settings

On the security settings page, you can enable or disable anti-leeching for live recording files. The anti-leeching feature can be configured only when live recording and live screenshot are enabled. First select the storage bucket for anti-leeching, specify the blacklist and whitelist information and referer settings as required, and then click Submit. If you need to enable authentication for streams, contact technical support for assistance.

image.png

4. Live Manage

In Live Manage, you can view the live list, recording files, and screenshot files, and create live streams.

image.png

4.1 Live List

On the Live List page, you can click the Live Streaming, Already Over, Abnormal, or Banned Stream tab to view information about related streams. You can specify search criteria such as the ingest domain, app, stream status, live stream name, and live streaming start and end time and then click Query to search for live streams. You can also view the real-time data and real-time bitrate information about live streams and record video clips in real time. You must contact technical support to enable the video clip recording feature.

image.png

4.2 Stream Name

On the Stream Name page, you can click Create New Live, specify Domain Name & App and Live Name, and then click Save to create a live task. You can specify search criteria such as the ingest domain, app, live name, and stream name to search for created live tasks. You can view the information such as the status (in preparation or live) of a live task and change the name of the live task.

image.png image.png

4.3 Live Recording

On the Live Recording page, you can specify search criteria such as the ingest domain, app, live name, and time range to search for recording files. You can click Preview in the Operation column of a recording file to preview the file or click Delete to delete the file. You can also select several files and click Batch Delete to delete all the selected files. To use the preview feature, you must configure cross-origin resource sharing (CORS) for buckets on the configuration page of KS3. For more information about live recording, see: endocs.ksyun.com/documents/1065?x-global=1

image.png

4.4 Live Screenshot

On the Live Screenshot page, you can specify search criteria such as the ingest domain, app, live name, and time range and then click Query to search for screenshots. You can click Preview in the Operation column of a screenshot file to preview the file or click Delete to delete the file. You can also select several files and click Batch Delete to delete all the selected files. For more information about screenshots, see: endocs.ksyun.com/documents/1066?x-global=1

image.png

5. Others

To return to an upper-level page, click the corresponding level in the navigation path on the top of the page.

image.png

On this page
Pure ModeNormal Mode

Pure Mode

Click to preview the document content in full screen
Feedback