onMediaPlayerPlayingProgress$progress method

FutureOr<void> onMediaPlayerPlayingProgress$progress(
  1. int playerId,
  2. int64_t progress
)

@detail callback @brief Periodic callback for audio mixing progress. The period is set by setProgressInterval:{@link #ByteRTCMediaPlayer#setProgressInterval}. @param playerId The ID of ByteRTCMediaPlayer{@link #ByteRTCMediaPlayer}. Set by getMediaPlayer:{@link #ByteRTCEngine#getMediaPlayer}. @param progress Mixing progress in ms.

Implementation

FutureOr<void> onMediaPlayerPlayingProgress$progress(
    int playerId, int64_t progress) async {}