GCKHLSSegmentFormat.h 文件
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
GCKHLSSegmentFormat 枚举。
更多...
HLS 视频片段类型。
枚举器 |
---|
GCKHLSSegmentFormatUnundefined |
未定义。
在流式传输协议不是 HLS 时使用。
|
GCKHLSSegmentFormatAAC |
HLS 片段类型 AAC。
|
GCKHLSSegmentFormatAC3 |
HLS 视频片段类型 AC3。
|
GCKHLSSegmentFormatMP3 |
HLS 视频片段类型 MP3。
|
GCKHLSSegmentFormatTS |
HLS 片段类型 TS。
|
GCKHLSSegmentFormatTS_AAC |
HLS 片段类型 TS AAC。
|
GCKHLSSegmentFormatE_AC3 |
HLS 视频片段类型 E AC3。
|
GCKHLSSegmentFormatFMP4 |
HLS 细分受众群类型 FMP4。
|
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[[["\u003cp\u003eThis document details the \u003ccode\u003eGCKHLSSegmentFormat\u003c/code\u003e enum, which defines different HLS segment types used in Google Cast.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGCKHLSSegment\u003c/code\u003e class provides helper methods to convert between \u003ccode\u003eGCKHLSSegmentFormat\u003c/code\u003e values and \u003ccode\u003eNSString\u003c/code\u003e representations.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eGCKHLSSegmentFormat\u003c/code\u003e enum includes values like \u003ccode\u003eGCKHLSSegmentFormatAAC\u003c/code\u003e, \u003ccode\u003eGCKHLSSegmentFormatAC3\u003c/code\u003e, \u003ccode\u003eGCKHLSSegmentFormatMP3\u003c/code\u003e, and others representing various HLS segment formats.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eGCKHLSSegmentFormatUndefined\u003c/code\u003e is used when the streaming protocol is not HLS.\u003c/p\u003e\n"]]],["This content defines the `GCKHLSSegmentFormat` enum, which specifies different types of HLS (HTTP Live Streaming) segments. It also introduces the `GCKHLSSegment` class, designed to aid in the conversion between the segment format and `NSString`. The enum includes options for undefined, AAC, AC3, MP3, TS, TS AAC, E AC3, and FMP4 segment types, each described with a corresponding use case.\n"],null,["# GCKHLSSegmentFormat.h File\n\n[Classes](#nested-classes) \\| [Enumerations](#enum-members) \nGCKHLSSegmentFormat.h File Reference \nGCKHLSSegmentFormat enum.\n[More...](#details)\n\n|-------|----------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Classes ------- ||\n| class | [GCKHLSSegment](/cast/docs/reference/ios/interface_g_c_k_h_l_s_segment) |\n| | Class that provides helpers to convert between `GCKHLSSegmentFormat` and `NSString`. [More...](/cast/docs/reference/ios/interface_g_c_k_h_l_s_segment#details) |\n| ||\n\n|------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Enumerations ------------ ||\n| enum | [GCKHLSSegmentFormat](/cast/docs/reference/ios/g_c_k_h_l_s_segment_format_8h#a2e7a0fabbe01b583c51dab04d512642b) { [GCKHLSSegmentFormatUndefined](/cast/docs/reference/ios/g_c_k_h_l_s_segment_format_8h#a2e7a0fabbe01b583c51dab04d512642ba347dca7ec584143eef66651a2127159a) = 0, [GCKHLSSegmentFormatAAC](/cast/docs/reference/ios/g_c_k_h_l_s_segment_format_8h#a2e7a0fabbe01b583c51dab04d512642ba55bb9bd2b8ab2b9edb94a77ec9a9feb5) = 1, [GCKHLSSegmentFormatAC3](/cast/docs/reference/ios/g_c_k_h_l_s_segment_format_8h#a2e7a0fabbe01b583c51dab04d512642baa6f627beba2aef7c231eaaee8cbfd272) = 2, [GCKHLSSegmentFormatMP3](/cast/docs/reference/ios/g_c_k_h_l_s_segment_format_8h#a2e7a0fabbe01b583c51dab04d512642bafa9184846f48bd8aff16d781252392be) = 3, [GCKHLSSegmentFormatTS](/cast/docs/reference/ios/g_c_k_h_l_s_segment_format_8h#a2e7a0fabbe01b583c51dab04d512642ba9c625fb91226be19ca2c0786dee3a203) = 4, [GCKHLSSegmentFormatTS_AAC](/cast/docs/reference/ios/g_c_k_h_l_s_segment_format_8h#a2e7a0fabbe01b583c51dab04d512642ba39209fc92fca98142a90de485b56b192) = 5, [GCKHLSSegmentFormatE_AC3](/cast/docs/reference/ios/g_c_k_h_l_s_segment_format_8h#a2e7a0fabbe01b583c51dab04d512642ba30fa97b0a715a34a7dfbb1b2a4da9820) = 6, [GCKHLSSegmentFormatFMP4](/cast/docs/reference/ios/g_c_k_h_l_s_segment_format_8h#a2e7a0fabbe01b583c51dab04d512642baad8a7bd3ebce563278b4ea158467a39f) = 7 } |\n| | HLS segment types. [More...](/cast/docs/reference/ios/g_c_k_h_l_s_segment_format_8h#a2e7a0fabbe01b583c51dab04d512642b) |\n| ||\n\nDetailed Description\n--------------------\n\nGCKHLSSegmentFormat enum.\n\nEnumeration Type Documentation\n------------------------------\n\n|----------------------------------------------------------------------------------------------------------------------|\n| enum [GCKHLSSegmentFormat](/cast/docs/reference/ios/g_c_k_h_l_s_segment_format_8h#a2e7a0fabbe01b583c51dab04d512642b) |\n\nHLS segment types.\n\n| Enumerator ||\n|------------------------------|-----------------------------------------------------|\n| GCKHLSSegmentFormatUndefined | Undefined. Used when streaming protocol is not HLS. |\n| GCKHLSSegmentFormatAAC | HLS segment type AAC. |\n| GCKHLSSegmentFormatAC3 | HLS segment type AC3. |\n| GCKHLSSegmentFormatMP3 | HLS segment type MP3. |\n| GCKHLSSegmentFormatTS | HLS segment type TS. |\n| GCKHLSSegmentFormatTS_AAC | HLS segment type TS AAC. |\n| GCKHLSSegmentFormatE_AC3 | HLS segment type E AC3. |\n| GCKHLSSegmentFormatFMP4 | HLS segment type FMP4. |"]]