onPlayerLowFpsWarning property

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

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

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