muteSession method

Future<int> muteSession({
  1. required int sessionId,
  2. required bool muteIncomingAudio,
  3. required bool muteOutgoingAudio,
  4. required bool muteIncomingVideo,
  5. required bool muteOutgoingVideo,
})

Mutes or unmutes audio/video streams for a call session.

Parameters:

  • sessionId: The session ID of the call
  • muteIncomingAudio: True to mute incoming audio (speaker)
  • muteOutgoingAudio: True to mute outgoing audio (microphone)
  • muteIncomingVideo: True to mute incoming video
  • muteOutgoingVideo: True to mute outgoing video (camera)

Returns 0 on success, negative error code on failure.

Implementation

Future<int> muteSession({
  required int sessionId,
  required bool muteIncomingAudio,
  required bool muteOutgoingAudio,
  required bool muteIncomingVideo,
  required bool muteOutgoingVideo,
}) async {
  throw UnimplementedError('muteSession has not been implemented.');
}