HLS
For an ingest domain name, parameters of an HLS livestream, such as TS Segment Length, Segments in Each M3U8 File, and Segments in First M3U8 File, can be modified.
Prerequisites
- You have added an ingest domain name.
- You have configured CNAME records at your domain names' DNS provider.
Procedure
- Log in to the Live console.
- In the navigation pane, choose Domains.
- Click Manage in the Operation column of the desired ingest domain name.
- In the navigation pane, choose Templates > HLS.
On the page displayed, you can see the configuration of live, as shown in Figure 1.
If you have other applications, they are not displayed by default. You need to submit a service ticketto display them on the page.
- Click Edit in the Operation column. On the page displayed on the right, modify the HLS configuration, as shown in Figure 2.
Table 1 describes the parameters.
Table 1 HLS configuration Parameter
Description
App Name
App name of the ingest domain name, which cannot be changed.
If the ingestion domain name contains applications other than live but no service ticket is submitted to display them, the configuration of live will apply to these applications.
TS Segment Length
TS segment length for the HLS. The value must be a multiple of the GOP duration.
The value ranges from 1 to 10, in seconds. A value that is too small may cause frame freezing (recommended: 4).
Default value: 2
Segments in Each M3U8 File
Number of segments in an M3U8 file.
The value ranges from 3 (recommended) to 10.
Default value: 3
Segments in First M3U8 File
Number of segments in the first M3U8 file. The value cannot exceed the number of segments in each M3U8 file.
The value ranges from 2 to 10.
Default value: 2
- Click OK.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.