HlsVideoSegmentFormat

  • HlsVideoSegmentFormat is an annotation that represents the format of HLS video segments.

  • It defines two constants: FMP4 and MPEG2_TS, representing Fragmented MP4 and MPEG-2 transport stream formats respectively.

  • FMP4 supports AVC and HEVC video codecs while MPEG2_TS supports AVC.

public abstract @interface HlsVideoSegmentFormat implements Annotation

A class representing the format of HLS video segments.

Constant Summary

String FMP4 Video packed in ISO BMFF CMAF Fragmented MP4.
String MPEG2_TS MPEG-2 transport stream.

Inherited Method Summary

Constants

public static final String FMP4

Video packed in ISO BMFF CMAF Fragmented MP4. Support AVC and HEVC.

Constant Value: "fmp4"

public static final String MPEG2_TS

MPEG-2 transport stream. Support AVC.

Constant Value: "mpeg2_ts"