onPlayerPlaybackStats property

void Function(PlayerPlaybackStats stats)? onPlayerPlaybackStats
final

报告当前播放的媒体资源的相关信息。

当媒体资源开始播放后,SDK 会每秒触发一次该回调,报告媒体资源的相关信息。

  • stats 媒体资源的相关信息,详见 PlayerPlaybackStats 。

Implementation

final void Function(PlayerPlaybackStats stats)? onPlayerPlaybackStats;