getDuration abstract method
Gets the duration of the audio effect file.
Return value:
>0
: Success, the duration of the audio effect file in milliseconds.<0
: failed.
Call this API after RTCAudioEffectPlayer.start.
Implementation
Future<int?> getDuration(int effectId);