HlsSegmentFormat

  • HlsSegmentFormat is an annotation representing the format of HLS audio segments.

  • It defines constants for common audio formats like AAC, AC3, E-AC3, FMP4, MP3, TS, and TS_AAC.

  • These constants represent different ways audio can be packaged within an HLS stream.

  • Developers can use this annotation to specify the desired segment format when working with HLS audio.

public abstract @interface HlsSegmentFormat implements Annotation

A class representing the format of HLS audio segments.

Constant Summary

String AAC AAC packed audio elementary stream.
String AC3 AC3 packed audio elementary stream.
String E_AC3 E-AC3 packed audio elementary stream.
String FMP4 Audio packed in ISO BMPP CMAF Fragmented MP4.
String MP3 MP3 packed audio elementary stream.
String TS MPEG-2 transport stream.
String TS_AAC AAC packed MPEG-2 transport stream.

Inherited Method Summary

Constants

public static final String AAC

AAC packed audio elementary stream.

Constant Value: "aac"

public static final String AC3

AC3 packed audio elementary stream.

Constant Value: "ac3"

public static final String E_AC3

E-AC3 packed audio elementary stream.

Constant Value: "e-ac3"

public static final String FMP4

Audio packed in ISO BMPP CMAF Fragmented MP4.

Constant Value: "fmp4"

public static final String MP3

MP3 packed audio elementary stream.

Constant Value: "mp3"

public static final String TS

MPEG-2 transport stream.

Constant Value: "ts"

public static final String TS_AAC

AAC packed MPEG-2 transport stream.

Constant Value: "ts_aac"