getAudioTrackCount abstract method

  1. @Deprecated('Deprecated since v3.54.1, use RTCMediaPlayer.getAudioTrackCount instead')
Future<int?> getAudioTrackCount(
  1. int mixId
)

Gets the track index of the current audio file.

API call result

  • ≥0: Success, SDK will return the track index.
  • <0:Failure

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

Implementation

@Deprecated(
    'Deprecated since v3.54.1, use RTCMediaPlayer.getAudioTrackCount instead')
Future<int?> getAudioTrackCount(int mixId);