onSystemAudioLoopbackError property
final
Whether System Audio Capturing is Enabled Successfully (for Desktop OS Only)
On macOS, you can call startSystemAudioLoopback
to install an audio driver
and have the SDK capture the audio played back by the system.
On Windows systems, you can use startSystemAudioLoopback
to have the SDK
capture the audio played back by the system.
In use cases such as video teaching and music live streaming, the teacher can use this feature to let the SDK capture the sound of the video played by his or her computer, so that students in the room can hear the sound too.
The SDK returns this callback after trying to enable system audio capturing. To determine whether it is actually enabled, pay attention to the error parameter in the callback.
- Parameters:
- errCode(int):
- If it is
ERR_NULL
, system audio capturing is enabled successfully. Otherwise, it is not.
- If it is
- errCode(int):
Implementation
final void Function(int errCode)? onSystemAudioLoopbackError;