Why Meta Quest?
Design
Develop
API reference
Distribute and grow
Blog
Support
API reference
API reference
Select your platform
No SDKs available
No versions available
Overview
AudioClipAudioSource
ImageViewer
Lib
Meta
Audio
NLayer
NLayer
Decoder
Decoder
BitReservoir
FrameBase
Huffman
ID3Frame
LayerDecoderBase
LayerIDecoder
LayerIIDecoder
LayerIIDecoderBase
LayerIIIDecoder
MpegFrame
MpegStreamReader
RiffHeaderFrame
VBRInfo
IMpegFrame
MpegFile
MpegFrameDecoder
Conduit
Net
Voice
WitAi
Oculus
Code samples
Downloads
Release notes
Supported platforms
Meta
MpegFrame Class
Extends
FrameBase
,
IMpegFrame
Object Data for package-attrib
MpegFrame
Next
[Get]
int
Number
[Get]
Properties
int
FrameLength
[Get]
MpegVersion
Version
[Get]
MpegLayer
Layer
[Get]
bool
HasCrc
[Get]
int
BitRate
[Get]
int
BitRateIndex
[Get]
int
SampleRate
[Get]
int
SampleRateIndex
[Get]
int
Padding
[Get]
MpegChannelMode
ChannelMode
[Get]
int
ChannelModeExtension
[Get]
int
Channels
[Get]
bool
IsCopyrighted
[Get]
bool
IsOriginal
[Get]
int
EmphasisMode
[Get]
bool
IsCorrupted
[Get]
int
SampleCount
[Get]
long
SampleOffset
[Get]
Object Data for package-static-func
static
MpegFrame
TrySync
( uint syncMark )
static void
UpdateCRC
( int data,
int length,
ref uint crc )
Protected Functions
virtual override int
Validate
( )
Called to validate the frame header
Returns
The length of the frame, or -1 if frame is invalid
Object Data for package-func
int
GetSideDataSize
( )
VBRInfo
ParseVBR
( )
Member Functions
void
Reset
( )
Resets the bit reader so frames can be reused
int
ReadBits
( int bitCount )
Provides sequential access to the bitstream in the frame (after the header and optional CRC)
Parameters
bitCount
The number of bits to read
Returns
-1 if the end of the frame has been encountered, otherwise the bits requested
Build with Meta
Social Technologies
Meta Horizon
AI
Worlds
About us
Careers
Research
Products
Virtual reality / Meta Horizon
Developer Blog
Download SDKs
Meta for Work
Programs
Start
Meta Horizon Creator Program
Discover
Why Meta Quest?
What is mixed reality?
Platforms and tools
2D apps for Meta Horizon OS
Devices
Meta Avatars
Success stories
Use cases
Support and legal
Developer policies
Legal
Privacy
Forums
Support
Build with Meta
Social Technologies
Meta Horizon
AI
Worlds
About us
Careers
Research
Products
Virtual reality / Meta Horizon
Developer Blog
Download SDKs
Meta for Work
Programs
Start
Meta Horizon Creator Program
Discover
Why Meta Quest?
What is mixed reality?
Platforms and tools
2D apps for Meta Horizon OS
Devices
Meta Avatars
Success stories
Use cases
Support and legal
Developer policies
Legal
Privacy
Forums
Support
Build with Meta
Social Technologies
Meta Horizon
AI
Worlds
About us
Careers
Research
Products
Virtual reality / Meta Horizon
Developer Blog
Download SDKs
Meta for Work
Programs
Start
Meta Horizon Creator Program
Discover
Why Meta Quest?
What is mixed reality?
Platforms and tools
2D apps for Meta Horizon OS
Devices
Meta Avatars
Success stories
Use cases
Support and legal
Developer policies
Legal
Privacy
Forums
Support
English (US)
© 2026 Meta