ZegoExpressEngineCustomAudioIO extension
Methods
-
enableAlignedAudioAuxData(bool enable, ZegoAudioFrameParam param)
→ Future<void>
-
Enable feature of throwing audio aux frames which aligned with accompany.
-
enableCustomAudioCaptureProcessing(bool enable, ZegoCustomAudioProcessConfig config)
→ Future<void>
-
Enable local collection and custom audio processing(before ear return).
-
enableCustomAudioCaptureProcessingAfterHeadphoneMonitor(bool enable, ZegoCustomAudioProcessConfig config)
→ Future<void>
-
Turn on local collection and custom audio processing (after ear return).
-
enableCustomAudioIO(bool enable, ZegoCustomAudioConfig config, {ZegoPublishChannel? channel})
→ Future<void>
-
Enables the custom audio I/O function (for the specified channel), support PCM, AAC format data.
-
enableCustomAudioPlaybackProcessing(bool enable, ZegoCustomAudioProcessConfig config)
→ Future<void>
-
Enable custom audio processing for SDK playback audio data.
-
enableCustomAudioRemoteProcessing(bool enable, ZegoCustomAudioProcessConfig config)
→ Future<void>
-
Enable custom audio processing for remote playing stream.
-
fetchCustomAudioRenderPCMData(Uint8List data, int dataLength, ZegoAudioFrameParam param)
→ Future<void>
-
Fetches PCM audio data of the remote stream from the SDK for custom audio rendering.
-
sendCustomAudioCaptureAACData(Uint8List data, int dataLength, int configLength, int referenceTimeMillisecond, int samples, ZegoAudioFrameParam param, {ZegoPublishChannel? channel})
→ Future<void>
-
Sends AAC audio data produced by custom audio capture to the SDK (for the specified channel).
-
sendCustomAudioCapturePCMData(Uint8List data, int dataLength, ZegoAudioFrameParam param, {ZegoPublishChannel? channel})
→ Future<void>
-
Sends PCM audio data produced by custom audio capture to the SDK (for the specified channel).
-
startAudioDataObserver(int observerBitMask, ZegoAudioFrameParam param)
→ Future<void>
-
Enable audio data observering.
-
stopAudioDataObserver()
→ Future<void>
-
Disable audio data observering.