get-audio-config

Use the interface to retrieve the audio settings.

HTTP Request

GET http://ip/mwapi?method=get-audio-config
Parameter Description
method get-audio-config

Response Body

{
  {
    "status": 0,
    "gain": -44.00,
    "sample-rate": 0,
    "channels": 0,
    "bit-count": 0,
    "convert-mode": "smpte",
    "ch0": 0,
    "ch1": 1,
    "ch2": 2,
    "ch3": 3,
    "ch4": 4,
    "ch5": 5,
    "ch6": 6,
    "ch7": 7,
    "ch8": 8,
    "ch9": 9,
    "ch10": 10,
    "ch11": 11,
    "ch12": 12,
    "ch13": 13,
    "ch14": 14,
    "ch15": 15,
    "check-pts": true
}
}
Name Description
status 0 indicates that the request was accepted successfully. Refer to API Status Codes to find specific description for other values.
gain Shows the gain which ranges from -100.00dB to 20.00dB.
sample-rate Shows the sample rate, including 32000, 44100, 48000, 88200, 96000.
channels Shows the number of output audio channels, including 0, 2, 4, 8.
bit-count Reserved.
convert-mode Convert mode, including smpte, ebu
ch0 ~ ch15 Shows the mapping relationship between the output and source channels.
For example, ch0=4&ch1=5 indicates that the output channel1 maps source channel5, and output channel2 maps source channel6.
check-pts True indicates check the audio PTS is enabled, otherwise it is false.

results matching ""

    No results matching ""