AudioDecoder
Description
AudioDecoder can decode encoded byte[] into audio and play it as audio source.
It’s compatible with our example networking systems FM Network UDP and FM WebSocket. Meanwhile, other 3rd party networking systems like PUN2, MIRROR and UNet are also supported.
Component Properties
Volume
- adjust the volume of the streamed audio
SourceSampleRate
- source sample rate of the streamed audio
SourceChannels
- source channels count of the streamed audio
OnPCMFloatReadyEvent
- invoke when the decoded PCM float array is ready
labelID
- encoder and decoder’s label ID should match