onPlayerLowFpsWarning method

void onPlayerLowFpsWarning(
  1. ZegoVideoCodecID codecID,
  2. String streamID
)

Playing stream low frame rate warning.

Available since: 2.14.0 Description: This callback triggered by low frame rate when playing stream. When to trigger: This callback triggered by low frame rate when playing stream. Caution: If the callback is triggered when the user playing the h.265 stream, you can stop playing the h.265 stream and switch to play the H.264 stream.

  • codecID Video codec ID.
  • streamID Stream ID.

Implementation

void onPlayerLowFpsWarning(
  ZegoVideoCodecID codecID,
  String streamID,
) {}