HlsSegmentFormat
Stay organized with collections
Save and categorize content based on your preferences.
A class representing the format of HLS audio segments.
Inherited Method Summary
From interface java.lang.annotation.Annotation
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_AAC
AAC packed MPEG-2 transport stream.
Constant Value:
"ts_aac"
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License
, and code samples are licensed under the Apache 2.0 License
. For details, see the Google Developers Site Policies
. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-31 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-31 UTC."],[[["\u003cp\u003e\u003ccode\u003eHlsSegmentFormat\u003c/code\u003e is an annotation representing the format of HLS audio segments.\u003c/p\u003e\n"],["\u003cp\u003eIt defines constants for common audio formats like AAC, AC3, E-AC3, FMP4, MP3, TS, and TS_AAC.\u003c/p\u003e\n"],["\u003cp\u003eThese constants represent different ways audio can be packaged within an HLS stream.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can use this annotation to specify the desired segment format when working with HLS audio.\u003c/p\u003e\n"]]],[],null,["# HlsSegmentFormat\n\npublic abstract @interface **HlsSegmentFormat** implements [Annotation](//developer.android.com/reference/java/lang/annotation/Annotation.html) \nA class representing the format of HLS audio segments. \n\n### Constant Summary\n\n|-------------------------------------------------------------------|----------------------------------------------------------------------------------|-----------------------------------------------|\n| [String](//developer.android.com/reference/java/lang/String.html) | [AAC](/android/reference/com/google/android/gms/cast/HlsSegmentFormat#AAC) | AAC packed audio elementary stream. |\n| [String](//developer.android.com/reference/java/lang/String.html) | [AC3](/android/reference/com/google/android/gms/cast/HlsSegmentFormat#AC3) | AC3 packed audio elementary stream. |\n| [String](//developer.android.com/reference/java/lang/String.html) | [E_AC3](/android/reference/com/google/android/gms/cast/HlsSegmentFormat#E_AC3) | E-AC3 packed audio elementary stream. |\n| [String](//developer.android.com/reference/java/lang/String.html) | [FMP4](/android/reference/com/google/android/gms/cast/HlsSegmentFormat#FMP4) | Audio packed in ISO BMPP CMAF Fragmented MP4. |\n| [String](//developer.android.com/reference/java/lang/String.html) | [MP3](/android/reference/com/google/android/gms/cast/HlsSegmentFormat#MP3) | MP3 packed audio elementary stream. |\n| [String](//developer.android.com/reference/java/lang/String.html) | [TS](/android/reference/com/google/android/gms/cast/HlsSegmentFormat#TS) | MPEG-2 transport stream. |\n| [String](//developer.android.com/reference/java/lang/String.html) | [TS_AAC](/android/reference/com/google/android/gms/cast/HlsSegmentFormat#TS_AAC) | AAC packed MPEG-2 transport stream. |\n\n### Inherited Method Summary\n\nFrom interface java.lang.annotation.Annotation \n\n|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------|\n| abstract [Class](//developer.android.com/reference/java/lang/Class.html)\\\u003c? extends [Annotation](//developer.android.com/reference/java/lang/annotation/Annotation.html)\\\u003e | annotationType() |\n| abstract boolean | equals([Object](//developer.android.com/reference/java/lang/Object.html) arg0) |\n| abstract int | hashCode() |\n| abstract [String](//developer.android.com/reference/java/lang/String.html) | toString() |\n\nConstants\n---------\n\n#### public static final [String](//developer.android.com/reference/java/lang/String.html)\n**AAC**\n\nAAC packed audio elementary stream. \nConstant Value: \"aac\" \n\n#### public static final [String](//developer.android.com/reference/java/lang/String.html)\n**AC3**\n\nAC3 packed audio elementary stream. \nConstant Value: \"ac3\" \n\n#### public static final [String](//developer.android.com/reference/java/lang/String.html)\n**E_AC3**\n\nE-AC3 packed audio elementary stream. \nConstant Value: \"e-ac3\" \n\n#### public static final [String](//developer.android.com/reference/java/lang/String.html)\n**FMP4**\n\nAudio packed in ISO BMPP CMAF Fragmented MP4. \nConstant Value: \"fmp4\" \n\n#### public static final [String](//developer.android.com/reference/java/lang/String.html)\n**MP3**\n\nMP3 packed audio elementary stream. \nConstant Value: \"mp3\" \n\n#### public static final [String](//developer.android.com/reference/java/lang/String.html)\n**TS**\n\nMPEG-2 transport stream. \nConstant Value: \"ts\" \n\n#### public static final [String](//developer.android.com/reference/java/lang/String.html)\n**TS_AAC**\n\nAAC packed MPEG-2 transport stream. \nConstant Value: \"ts_aac\""]]