getAudioMixingDuration abstract method

  1. @Deprecated('Deprecated since v3.54.1, use RTCAudioEffectPlayer.getDuration and RTCMediaPlayer.getTotalDuration instead')
Future<int?> getAudioMixingDuration(
  1. int mixId
)

Gets the duration in ms of the music file.

API call result:

  • >0: Success, SDK will return the duration of the music file, in milliseconds.
  • <0: Failure.

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

Implementation

@Deprecated(
    'Deprecated since v3.54.1, use RTCAudioEffectPlayer.getDuration and RTCMediaPlayer.getTotalDuration instead')
Future<int?> getAudioMixingDuration(int mixId);