public static enum Media.HlsSegmentFormat extends Enum<Media.HlsSegmentFormat>
| Enum Constant and Description |
|---|
AC3
AC3 packed audio elementary stream
|
E_AC3
E-AC3 packed audio elementary stream
|
FMP4
Audio packed in ISO BMFF CMAF Fragmented MP4
|
MP3
MP3 packed audio elementary stream
|
TS
MPEG-2 transport stream
|
TS_AAC
AAC packed MPEG-2 transport stream
|
AAC
AAC Packed audio elementary stream
|
| Modifier and Type | Method and Description |
|---|---|
static Media.HlsSegmentFormat |
typeOf(String hlsSegmentFormat)
Parses the specified string and returns the corresponding
Media.HlsSegmentFormat, or null if no match could be found. |
static Media.HlsSegmentFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Media.HlsSegmentFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Media.HlsSegmentFormat AAC
public static final Media.HlsSegmentFormat AC3
public static final Media.HlsSegmentFormat MP3
public static final Media.HlsSegmentFormat TS
public static final Media.HlsSegmentFormat TS_AAC
public static final Media.HlsSegmentFormat E_AC3
public static final Media.HlsSegmentFormat FMP4
public static Media.HlsSegmentFormat[] values()
for (Media.HlsSegmentFormat c : Media.HlsSegmentFormat.values()) System.out.println(c);
public static Media.HlsSegmentFormat valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null@Nullable public static Media.HlsSegmentFormat typeOf(String hlsSegmentFormat)
Media.HlsSegmentFormat, or null if no match could be found.hlsSegmentFormat - the string to parse.Media.HlsSegmentFormat or null.Copyright © 2022. All rights reserved.