selectAudioTrack abstract method

  1. @Deprecated('Deprecated since v3.54.1, use RTCMediaPlayer.selectAudioTrack instead')
Future<void> selectAudioTrack({
  1. required int mixId,
  2. required int audioTrackIndex,
})

Specifies the playback track of the current audio file.

audioTrackIndex should be less than or equal to the returned value of RTCAudioMixingManager.getAudioTrackCount.

Make sure you have called RTCAudioMixingManager.startAudioMixing before calling this API.

Implementation

@Deprecated(
    'Deprecated since v3.54.1, use RTCMediaPlayer.selectAudioTrack instead')
Future<void> selectAudioTrack({
  required int mixId,
  required int audioTrackIndex,
});