@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AudioOnlyHlsSettings extends Object implements Serializable, Cloneable, StructuredPojo
Constructor and Description |
---|
AudioOnlyHlsSettings() |
Modifier and Type | Method and Description |
---|---|
AudioOnlyHlsSettings |
clone() |
boolean |
equals(Object obj) |
String |
getAudioGroupId()
Specifies the group to which the audio Rendition belongs.
|
InputLocation |
getAudioOnlyImage()
For use with an audio only Stream.
|
String |
getAudioTrackType()
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.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAudioGroupId(String audioGroupId)
Specifies the group to which the audio Rendition belongs.
|
void |
setAudioOnlyImage(InputLocation audioOnlyImage)
For use with an audio only Stream.
|
void |
setAudioTrackType(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.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
AudioOnlyHlsSettings |
withAudioGroupId(String audioGroupId)
Specifies the group to which the audio Rendition belongs.
|
AudioOnlyHlsSettings |
withAudioOnlyImage(InputLocation audioOnlyImage)
For use with an audio only Stream.
|
AudioOnlyHlsSettings |
withAudioTrackType(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 |
withAudioTrackType(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.
|
public void setAudioGroupId(String audioGroupId)
audioGroupId
- Specifies the group to which the audio Rendition belongs.public String getAudioGroupId()
public AudioOnlyHlsSettings withAudioGroupId(String audioGroupId)
audioGroupId
- Specifies the group to which the audio Rendition belongs.public void setAudioOnlyImage(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.}.public InputLocation getAudioOnlyImage()
public AudioOnlyHlsSettings withAudioOnlyImage(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.}.public void setAudioTrackType(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
public String getAudioTrackType()
AudioOnlyHlsTrackType
public AudioOnlyHlsSettings withAudioTrackType(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
public AudioOnlyHlsSettings withAudioTrackType(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
public String toString()
toString
in class Object
Object.toString()
public AudioOnlyHlsSettings clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.