类:AudioTrackInfo
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):2025-07-25。"],[[["\u003cp\u003eThe \u003ccode\u003ecast.framework.messages.AudioTrackInfo\u003c/code\u003e class provides static data about a given audio track such as codec, channel count, and spatial audio capabilities.\u003c/p\u003e\n"],["\u003cp\u003eIt includes properties like \u003ccode\u003eaudioCodec\u003c/code\u003e, \u003ccode\u003enumAudioChannels\u003c/code\u003e, and \u003ccode\u003espatialAudio\u003c/code\u003e to describe the track's attributes, which can be undefined if not explicitly specified.\u003c/p\u003e\n"]]],[],null,["# Class: AudioTrackInfo\n\ncast.[framework](/cast/docs/reference/web_receiver/cast.framework).[messages](/cast/docs/reference/web_receiver/cast.framework.messages).AudioTrackInfo\n=======================================================================================================================================================\n\nclass static\n\nDescribes audio track information for an audio track.\n\nConstructor\n-----------\n\n### AudioTrackInfo\n\nnew\nAudioTrackInfo()\n\nProperties\n----------\n\n### audioCodec\n\n(string or undefined)\n\nThis represents the codec of the audio track.\n\n### numAudioChannels\n\n(number or undefined)\n\nThe number of audio track channels.\n\n### spatialAudio\n\n(boolean or undefined)\n\nTrue indicates this track content has spatial audio. Determined by\nsignals from the manifest."]]