HlsVideoSegmentFormat
Stay organized with collections
Save and categorize content based on your preferences.
A class representing the format of HLS video segments.
Inherited Method Summary
From interface java.lang.annotation.Annotation
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"
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\u003eHlsVideoSegmentFormat\u003c/code\u003e is an annotation that represents the format of HLS video segments.\u003c/p\u003e\n"],["\u003cp\u003eIt defines two constants: \u003ccode\u003eFMP4\u003c/code\u003e and \u003ccode\u003eMPEG2_TS\u003c/code\u003e, representing Fragmented MP4 and MPEG-2 transport stream formats respectively.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eFMP4\u003c/code\u003e supports AVC and HEVC video codecs while \u003ccode\u003eMPEG2_TS\u003c/code\u003e supports AVC.\u003c/p\u003e\n"]]],[],null,["# HlsVideoSegmentFormat\n\npublic abstract @interface **HlsVideoSegmentFormat** implements [Annotation](//developer.android.com/reference/java/lang/annotation/Annotation.html) \nA class representing the format of HLS video segments. \n\n### Constant Summary\n\n|-------------------------------------------------------------------|-------------------------------------------------------------------------------------------|-----------------------------------------------|\n| [String](//developer.android.com/reference/java/lang/String.html) | [FMP4](/android/reference/com/google/android/gms/cast/HlsVideoSegmentFormat#FMP4) | Video packed in ISO BMFF CMAF Fragmented MP4. |\n| [String](//developer.android.com/reference/java/lang/String.html) | [MPEG2_TS](/android/reference/com/google/android/gms/cast/HlsVideoSegmentFormat#MPEG2_TS) | 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**FMP4**\n\nVideo packed in ISO BMFF CMAF Fragmented MP4. Support AVC and HEVC. \nConstant Value: \"fmp4\" \n\n#### public static final [String](//developer.android.com/reference/java/lang/String.html)\n**MPEG2_TS**\n\nMPEG-2 transport stream. Support AVC. \nConstant Value: \"mpeg2_ts\""]]