setCurrentDeviceMute abstract method
- TXMediaDeviceType type,
- bool mute
Muting the current device (for desktop OS)
This API is used to mute the mic or speaker, but not the camera.
- Parameters:
- type(TXMediaDeviceType):
- Device type.
- mute(bool):
- type(TXMediaDeviceType):
Implementation
int setCurrentDeviceMute(TXMediaDeviceType type, bool mute);