setCurrentDeviceVolume abstract method
- TXMediaDeviceType type,
- int volume
Setting the Volume of the Current Device (for Desktop OS)
This API is used to set the capturing volume of the mic or playback volume of the speaker, but not the volume of the camera.
- Parameters:
- volume(int):
- Volume. Value range: 0-100; default: 100.
- type(TXMediaDeviceType):
- Device type.
- volume(int):
Implementation
int setCurrentDeviceVolume(TXMediaDeviceType type, int volume);