setCurrentDeviceMute abstract method
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);