set-usb-audio
Use the interface to select the global USB Mic and USB audio output device which can be applied to the whole presentation.
Request Mode
POST http://ip/mwapi/set-usb-audio
{
"target": 0,
"dev-path": "aHc6Myww",
"audioOffset": -150
}
Name | Description |
---|---|
target | 0: select the audio of Webcam 1: select the audio of USB Mic 2: select the audio of USB output |
dev-path | The ID of the device Get the device list through the get-usb-audio-list interface. |
audioOffset | The value of audio offset, in ms |
Response Body
{
"status": 0,
}
Name | Description |
---|---|
status | 0 indicates that the request was accepted successfully. Refer to API Status Codes to find specific description for other values. |