setAudioDualMonoMode method

FutureOr<int> setAudioDualMonoMode(
  1. ByteRTCAudioMixingDualMonoMode mode
)

@detail api @brief Sets the channel mode of the mixing of the media file. @param mode The mode of channel. The default channel mode is the same as the source file. See ByteRTCAudioMixingDualMonoMode{@link #ByteRTCAudioMixingDualMonoMode}. @return - 0: Success. - < 0 : Fail. See ByteRTCReturnStatus{@link #ByteRTCReturnStatus} for more details. @note - Call this API only when audio is mixing. - Audio file is supported, but not PCM data.

Implementation

FutureOr<int> setAudioDualMonoMode(
    ByteRTCAudioMixingDualMonoMode mode) async {
  return await nativeCall('setAudioDualMonoMode:', [mode.$value]);
}