setCurrentDeviceMute abstract method

int setCurrentDeviceMute(
  1. TXMediaDeviceType type,
  2. bool mute
)

Muting the current device (for desktop OS)

This API is used to mute the mic or speaker, but not the camera.

Implementation

int setCurrentDeviceMute(TXMediaDeviceType type, bool mute);