【CicadaPlayer】getPlayerBufferDuration分析

  • https://github.com/alibaba/CicadaPlayer/blob/release/0.4.4/mediaPlayer/SuperMediaPlayer.cpp
  • Core key functions
int64_t SuperMediaPlayer::getPlayerBufferDuration(bool gotMax, bool internal)

  • Appears in 17 places:
    Insert image description here

durations array of getPlayerBufferDuration

  • Process audio, video, and subtitles respectively.
  • Therefore, a three-element durations array is set up
    

Guess you like

Origin blog.csdn.net/commshare/article/details/132538950