When you use the superplayer to play back a video, the video image content is the adaptive bitrate streaming output, and the thumbnail preview is the image sprite output.
If your video has multiple adaptive bitrate streaming and image sprite outputs, you need to specify:
An adaptive bitstream contains multiple substreams, which correspond to different resolution names during resolution switch. When specifying the resolution name of each substream displayed in the player, you need to specify the naming rule for the substream resolutions.
VOD supports superplayer configuration, where you can specify the adaptive bitrate streaming template ID and image sprite template ID. In addition, it allows you to customize the resolution naming rule (such as LD, SD, and HD) of each substream.
Configuration Item | Configuration Method | Feature |
---|---|---|
Adaptive bitstream for playback | Adaptive bitrate streaming template ID | It controls the content played back by the player |
Image sprite template for thumbnail preview | Image sprite template ID | It controls the thumbnails displayed on the progress bar. |
Substream resolution name displayed by player | Naming of the length of substream short side | It controls the names of resolutions for resolution switch |
VOD provides the following three preset configurations for your convenience:
Configuration Name | Configuration Item | ||
---|---|---|---|
Adaptive bitstream to be played back (template ID) | Image sprite to be used (template ID) | Resolution naming rule (based on length of substream short side) | |
default | 10 | 10 |
|
basicDrmPreset | 12 | 10 | |
advanceDrmPreset | 10 |
LongVideoPreset
preset task flow for adaptive bitrate streaming and the default
preset superplayer configuration for playback. For specific samples, please see Integration Guide.SimpleAesEncryptPreset
preset task flow for adaptive bitrate streaming and the basicDrmPreset
preset superplayer configuration for playback. For specific samples, please see Integration Guide.WidevineFairPlayPreset
preset task flow for adaptive bitrate streaming and the advanceDrmPreset
preset superplayer configuration for playback.In addition to using preset superplayer configurations, you can also customize the configuration in the console or through API.
You can use a custom superplayer configuration for playback as instructed in Integration Guide.
If you use a configuration rather than the default
preset configuration, you need to use the superplayer signature and specify the configuration name to be used in the pcfg
signature parameter.
You can use the superplayer signature for playback as instructed in Integration Guide.
Was this page helpful?