onPublisherDummyCaptureImagePathError method

void onPublisherDummyCaptureImagePathError(
  1. int errorCode,
  2. String path,
  3. ZegoPublishChannel channel
)

The notification for setting the path of the static image displayed when the camera is turned off is incorrect.

Available since: 3.9.0 Description: The notification for setting the path of the static image displayed when the camera is turned off is incorrect. When to trigger: If the path for the image is set using setDummyCaptureImagePath, but the image cannot be obtained during streaming, this callback will be triggered. Caution: Please make sure that the image path is correct and has read permission before setting it.

  • errorCode error code.
  • path Image path.
  • channel Publishing stream channel.If you only publish one audio and video stream, you can ignore this parameter.

Implementation

void onPublisherDummyCaptureImagePathError(
  int errorCode,
  String path,
  ZegoPublishChannel channel,
) {}