getConfig

Use the interface to get the audio configuration.

Request Mode

POST/GET http://ip/V1.0/volume/getConfig

Request Data

Null

Response Body

{
    "audioList": [
        {
            "audioSourceId": 3,
            "meter": [
                -100.0,
                -100.0
            ],
            "audioInfo": {
                "beInMultiScenes": 0,
                "boost": false,
                "direction": 0,
                "isGFX": false,
                "label": "",
                "muted": 0,
                "name": "PROGRAM",
                "preview": false,
                "scope": 0,
                "solo": 0,
                "sourceType": 0,
                "supportAFV": false,
                "type": 3,
                "volume": 0,
                "volumeRecovery": 0
            }
        },
        {
            "audioSourceId": 1,
            "meter": [
                -100.0,
                -100.0
            ],
            "audioInfo": {
                "beInMultiScenes": 0,
                "boost": false,
                "direction": 0,
                "isGFX": false,
                "label": "",
                "muted": 0,
                "name": "MONITOR",
                "preview": false,
                "scope": 0,
                "solo": 0,
                "sourceType": 0,
                "supportAFV": false,
                "type": 1,
                "volume": -15,
                "volumeRecovery": 0
            }
        },
        {
            "audioSourceId": 513,
            "meter": [
                -100.0,
                -100.0
            ],
            "audioInfo": {
                "beInMultiScenes": 1,
                "boost": false,
                "direction": 0,
                "isGFX": false,
                "label": "",
                "muted": 0,
                "name": "MIC",
                "preview": false,
                "scope": 1,
                "solo": 0,
                "sourceType": 0,
                "supportAFV": false,
                "type": 512,
                "uuid": "mic",
                "volume": 0,
                "volumeRecovery": 0
            }
        },
        {
            "audioSourceId": 1792,
            "meter": [
                -100.0,
                -100.0
            ],
            "audioInfo": {
                "beInMultiScenes": 0,
                "boost": false,
                "direction": 0,
                "isGFX": false,
                "label": "",
                "muted": 1,
                "name": "HDMI 1",
                "preview": false,
                "scope": 0,
                "solo": 0,
                "sourceType": 6,
                "supportAFV": true,
                "type": 1792,
                "uuid": "eco0",
                "volume": 0,
                "volumeRecovery": 0
            }
        },
        {
            "audioSourceId": 2048,
            "meter": [
                -100.0,
                -100.0
            ],
            "audioInfo": {
                "beInMultiScenes": 0,
                "boost": false,
                "direction": 0,
                "isGFX": false,
                "label": "",
                "muted": 2,
                "name": "HDMI 2",
                "preview": false,
                "scope": 0,
                "solo": 0,
                "sourceType": 7,
                "supportAFV": true,
                "type": 2048,
                "uuid": "eco1",
                "volume": -13,
                "volumeRecovery": 0
            }
        },
        {
            "audioSourceId": 1539,
            "meter": [
                -100.0,
                -100.0
            ],
            "audioInfo": {
                "beInMultiScenes": 0,
                "boost": false,
                "direction": 0,
                "isGFX": false,
                "label": "BGM",
                "muted": 0,
                "name": "BGM",
                "preview": false,
                "scope": 0,
                "solo": 0,
                "sourceType": 0,
                "supportAFV": false,
                "type": 1539,
                "uuid": "global_bgm",
                "volume": 0,
                "volumeRecovery": 0
            }
        },
        {
            "audioSourceId": 266,
            "meter": [
                -100.0,
                -100.0
            ],
            "audioInfo": {
                "beInMultiScenes": 0,
                "boost": false,
                "direction": 0,
                "isGFX": false,
                "label": "Camera #1",
                "muted": 0,
                "name": "Camera #1",
                "preview": false,
                "scope": 0,
                "solo": 0,
                "sourceType": 30,
                "supportAFV": true,
                "type": 266,
                "uuid": "fcd51e30551e4795879c8bdc8f5397cd",
                "volume": 10,
                "volumeRecovery": 0
            }
        },
        {
            "audioSourceId": 268,
            "meter": [
                -100.0,
                -100.0
            ],
            "audioInfo": {
                "beInMultiScenes": 0,
                "boost": false,
                "direction": 0,
                "isGFX": false,
                "label": "Camera #1",
                "muted": 0,
                "name": "Camera #1",
                "preview": false,
                "scope": 0,
                "solo": 0,
                "sourceType": 32,
                "supportAFV": true,
                "type": 268,
                "uuid": "0fb2b8a73754415cbea02a08c9446f96",
                "volume": 10,
                "volumeRecovery": 0
            }
        },
        {
            "audioSourceId": 256,
            "meter": [
                -100.0,
                -100.0
            ],
            "audioInfo": {
                "beInMultiScenes": 0,
                "boost": false,
                "direction": 0,
                "isGFX": false,
                "label": "22",
                "muted": 2,
                "name": "22",
                "preview": false,
                "scope": 0,
                "solo": 0,
                "sourceType": 10,
                "supportAFV": true,
                "type": 256,
                "uuid": "ebdaeb581a9b41b89d26a67c7c018cae",
                "volume": 0,
                "volumeRecovery": 0
            }
        },
        {
            "audioSourceId": 276,
            "meter": [
                -100.0,
                -100.0
            ],
            "audioInfo": {
                "beInMultiScenes": 0,
                "boost": false,
                "direction": 0,
                "isGFX": false,
                "label": "Magewell",
                "muted": 2,
                "name": "Magewell",
                "preview": false,
                "scope": 0,
                "solo": 0,
                "sourceType": 54,
                "supportAFV": true,
                "type": 276,
                "uuid": "1721371716617",
                "volume": 0,
                "volumeRecovery": 0
            }
        }
    ],
    "micAudioDevice": {
        "audioSourceId": 513,
        "cardNo": 0,
        "devNo": 0,
        "deviceType": 0,
        "direction": 1,
        "id": 513,
        "isMic": true,
        "sourceType": 0
    },
    "monitorAudioDevice": {
        "audioSourceId": 0,
        "cardNo": 0,
        "devNo": 0,
        "deviceType": 0,
        "direction": 0,
        "id": 0,
        "isMic": true,
        "sourceType": 0
    },
    "monitorMicSound": true,
    "message": "SUCCESS",
    "status": 0
}
1. Response Body
"status": 0
Property Description
status Service status code
0: Success
message Service status description
monitorMicSound Whether to monitor MIC input
true: Yes; false: No
monitorAudioDevice The monitor device
micAudioDevice The MIC device
audioList The audio list
2.AudioDevice
Property Description
audioSourceId The audio source ID
deviceType The audio device type
0: embedded audio device
1: external audio device
id The device ID
devNo The device number
cardNo The audio card number
3.AudioInfo
Property Description
type The audio type
beInMultiScenes Whether the audio is used by multiple scenes. When it is 1, it supports setScope.
1: Yes; 0: No
scope Whether the audio is set to global, which means to sharing audio configuration with other scenes.
0: Share; 1: Not share
supportAFV Whether it supports to set to AFV
true: Yes; false: No
solo Whether to monitor the audio exclusively
1: Yes; 0: No
muted The audio state.
0: Always On
1: Always Off
2: AFV
volume Volume, in dB
label Label
name Name

Other properties not listed are reserved parameters.

HTTP Status Code

results matching ""

    No results matching ""