public static interface AudioOnlyHlsSettings.Builder extends 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)
For use with an audio only Stream.
|
AudioOnlyHlsSettings.Builder |
audioOnlyImage(InputLocation audioOnlyImage)
For use with an audio only Stream.
|
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.
|
copyapply, buildAudioOnlyHlsSettings.Builder audioGroupId(String audioGroupId)
audioGroupId - Specifies the group to which the audio Rendition belongs.AudioOnlyHlsSettings.Builder audioOnlyImage(InputLocation audioOnlyImage)
audioOnlyImage - For use with an audio only Stream. Must be a .jpg or .png file. If given, this image will be used as
the cover-art for the audio only output. Ideally, it should be formatted for an iPhone screen for two
reasons. The iPhone does not resize the image, it crops a centered image on the top/bottom and
left/right. Additionally, this image file gets saved bit-for-bit into every 10-second segment file, so
will increase bandwidth by {image file size} * {segment count} * {user count.}.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,
AudioOnlyHlsTrackTypeCopyright © 2017 Amazon Web Services, Inc. All Rights Reserved.