pauseParticipantVideo method

Future<void> pauseParticipantVideo(
  1. String participantId
)

Pauses video for a specific participant.

Implementation

Future<void> pauseParticipantVideo(String participantId) async {
  try {
    await CometChatCallsPluginPlatform.instance.nativePauseParticipantVideo(participantId);
  } catch (e) {
    throw CometChatCallsException(
      ErrorCodeConstants.errorPauseParticipantVideo,
      'Failed to pause participant video',
      e.toString(),
    );
  }
}