menu
volc_engine_rtc package
documentation
api/bytertc_media_player_api.dart
RTCMediaPlayer
getAudioTrackCount abstract method
getAudioTrackCount abstract method
dark_mode
light_mode
getAudioTrackCount
abstract method
Future
<
int
?
>
getAudioTrackCount
(
)
获取当前音乐文件的音轨数。
返回值:
>= 0
:成功,返回当前音乐文件的音轨数;
<0
:方法调用失败。
仅在音频播放进行状态时,调用此方法。
Implementation
Future<int?> getAudioTrackCount();
volc_engine_rtc package
documentation
api/bytertc_media_player_api
RTCMediaPlayer
getAudioTrackCount abstract method
RTCMediaPlayer class