public static interface AudioOnlyHlsSettings.Builder extends SdkPojo, CopyableBuilder<AudioOnlyHlsSettings.Builder,AudioOnlyHlsSettings>
| Modifier and Type | Method and Description |
|---|---|
AudioOnlyHlsSettings.Builder |
audioGroupId(String audioGroupId)
Specifies the group to which the audio Rendition belongs.
|
default AudioOnlyHlsSettings.Builder |
audioOnlyImage(Consumer<InputLocation.Builder> audioOnlyImage)
Optional.
|
AudioOnlyHlsSettings.Builder |
audioOnlyImage(InputLocation audioOnlyImage)
Optional.
|
AudioOnlyHlsSettings.Builder |
audioTrackType(AudioOnlyHlsTrackType audioTrackType)
Four types of audio-only tracks are supported:
Audio-Only Variant Stream The client can play back this audio-only stream instead of video in low-bandwidth
scenarios.
|
AudioOnlyHlsSettings.Builder |
audioTrackType(String audioTrackType)
Four types of audio-only tracks are supported:
Audio-Only Variant Stream The client can play back this audio-only stream instead of video in low-bandwidth
scenarios.
|
AudioOnlyHlsSettings.Builder |
segmentType(AudioOnlyHlsSegmentType segmentType)
Specifies the segment type.
|
AudioOnlyHlsSettings.Builder |
segmentType(String segmentType)
Specifies the segment type.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAudioOnlyHlsSettings.Builder audioGroupId(String audioGroupId)
audioGroupId - Specifies the group to which the audio Rendition belongs.AudioOnlyHlsSettings.Builder audioOnlyImage(InputLocation audioOnlyImage)
audioOnlyImage - Optional. Specifies the .jpg or .png image to use as the cover art for an audio-only output. We
recommend a low bit-size file because the image increases the output audio bandwidth.
The image is attached to the audio as an ID3 tag, frame type APIC, picture type 0x10, as per the
"ID3 tag version 2.4.0 - Native Frames" standard.default AudioOnlyHlsSettings.Builder audioOnlyImage(Consumer<InputLocation.Builder> audioOnlyImage)
InputLocation.Builder avoiding the need to create one manually via
InputLocation.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to audioOnlyImage(InputLocation).
audioOnlyImage - a consumer that will call methods on InputLocation.BuilderaudioOnlyImage(InputLocation)AudioOnlyHlsSettings.Builder audioTrackType(String audioTrackType)
audioTrackType - Four types of audio-only tracks are supported:
Audio-Only Variant Stream The client can play back this audio-only stream instead of video in
low-bandwidth scenarios. Represented as an EXT-X-STREAM-INF in the HLS manifest.
Alternate Audio, Auto Select, Default Alternate rendition that the client should try to play back by
default. Represented as an EXT-X-MEDIA in the HLS manifest with DEFAULT=YES, AUTOSELECT=YES
Alternate Audio, Auto Select, Not Default Alternate rendition that the client may try to play back by
default. Represented as an EXT-X-MEDIA in the HLS manifest with DEFAULT=NO, AUTOSELECT=YES
Alternate Audio, not Auto Select Alternate rendition that the client will not try to play back by
default. Represented as an EXT-X-MEDIA in the HLS manifest with DEFAULT=NO, AUTOSELECT=NOAudioOnlyHlsTrackType,
AudioOnlyHlsTrackTypeAudioOnlyHlsSettings.Builder audioTrackType(AudioOnlyHlsTrackType audioTrackType)
audioTrackType - Four types of audio-only tracks are supported:
Audio-Only Variant Stream The client can play back this audio-only stream instead of video in
low-bandwidth scenarios. Represented as an EXT-X-STREAM-INF in the HLS manifest.
Alternate Audio, Auto Select, Default Alternate rendition that the client should try to play back by
default. Represented as an EXT-X-MEDIA in the HLS manifest with DEFAULT=YES, AUTOSELECT=YES
Alternate Audio, Auto Select, Not Default Alternate rendition that the client may try to play back by
default. Represented as an EXT-X-MEDIA in the HLS manifest with DEFAULT=NO, AUTOSELECT=YES
Alternate Audio, not Auto Select Alternate rendition that the client will not try to play back by
default. Represented as an EXT-X-MEDIA in the HLS manifest with DEFAULT=NO, AUTOSELECT=NOAudioOnlyHlsTrackType,
AudioOnlyHlsTrackTypeAudioOnlyHlsSettings.Builder segmentType(String segmentType)
segmentType - Specifies the segment type.AudioOnlyHlsSegmentType,
AudioOnlyHlsSegmentTypeAudioOnlyHlsSettings.Builder segmentType(AudioOnlyHlsSegmentType segmentType)
segmentType - Specifies the segment type.AudioOnlyHlsSegmentType,
AudioOnlyHlsSegmentTypeCopyright © 2022. All rights reserved.