setVideoMuteImage abstract method

void setVideoMuteImage(
  1. String imagePath,
  2. int fps
)

Set the image to be displayed when the video stream is paused

When the local video stream is paused (e.g., via muteLocalVideo), the SDK will display the specified image instead of the last video frame.

Parameters:

  • imagePath(String):
    • Path to the image file. Supported formats: JPG, PNG.
    • Example paths:
      • Android: /storage/emulated/0/Android/data/com.tencent.rtc.flutter.example/files/image.jpg
      • iOS: /Library/Caches/image.jpg
  • fps(int):
    • Frame rate of the image display (in frames per second).

Note:

  • This API is currently not supported on macOS and Windows.

Implementation

void setVideoMuteImage(String imagePath, int fps);