onPlayerLowFpsWarning property

(void Function(ZegoVideoCodecID codecID, String streamID)?) onPlayerLowFpsWarning
read / write

拉流低帧率警告。

支持版本:2.14.0 及以上。 详情描述:拉流出现低帧率触发的回调。 通知时机:拉流出现低帧率会触发本回调。 注意事项:如果用户拉 H.265 流触发本回调,可以停拉 H.265 流,转拉 H.264 流。

  • codecID 视频解码器 ID。
  • streamID 拉流的流 ID。

Implementation

static void Function(ZegoVideoCodecID codecID, String streamID)?
    onPlayerLowFpsWarning;