onPlayBufferUpdated property
报告当前缓冲数据能播放的时间。
播放在线媒体资源的过程中,SDK 会每隔 1 秒触发一次该回调,报告当前缓冲的数据能支持的播放时间。 当缓冲数据支持的播放时间小于阈值(默认为 0)时,返回 playerEventBufferLow (6)。 当缓冲数据支持的播放时间大于阈值(默认为 0)时,返回 playerEventBufferRecover (7)。
playCachedBuffer当前缓冲的数据能支持的播放时间 (毫秒)。
Implementation
final void Function(int playCachedBuffer)? onPlayBufferUpdated;