Use the interface to get the USB audio device list.

Request Mode

POST http://ip/mwapi/get-usb-audio-list
  "target": 0,
Parameter Description
target 0: select the audio of Webcam
1: select the audio of USB Mic
2: select the audio of USB output

Response Body

    "status": 0,
    "selected": false,
    "audioOffset": -150,
    "cur-dev-path": "",
    "devices": [
            "dev-path": "aHc6Mywx",
            "dev-name": "HDMI [USB Capture HDMI+] #1"
            "dev-path": "aHc6Mywy",
            "dev-name": "HDMI [USB Capture HDMI+] #2"
Name Description
status 0 indicates that the request was accepted successfully. Refer to API Status Codes to find specific description for other values.
selected Whether a device is selected.
audioOffset The value of audio offset, in ms
cur-dev-path The current device
devices The device list

results matching ""

    No results matching ""