GetConfigKeys
Lists information about the parameters that you can use to configure Media Server engines.
| Parameter | Description | Required |
|---|---|---|
EngineType
|
The engine to return information for. This parameter accepts the same values as the Type configuration parameter. If you omit this parameter, Media Server returns information for all engines. |
No |
Example
The following example returns information about the parameters that configure audio categorization:
http://localhost:14000/action=GetConfigKeys&EngineType=AudioCategorize
Response
The following XML is an example response:
<autnresponse>
<action>GETCONFIGKEYS</action>
<response>SUCCESS</response>
<responsedata>
<engines>
<engine>
<type>AudioCategorize</type>
<configKeys>
<key>
<name>sampleFrequency</name>
<type>Integer</type>
<predicate>one of these values: {8000, 16000}</predicate>
<deprecated>false</deprecated>
<required>false</required>
<default>16000</default>
<description>The sample frequency of the audio to send to the audio service.</description>
</key>
<key>
<name>segmentDuration</name>
<type>Time Duration</type>
<predicate>non-negative</predicate>
<deprecated>false</deprecated>
<required>false</required>
<default>30s</default>
<description>The maximum duration of a record in the SegmentedResult track.</description>
</key>
<key>
<name>Input</name>
<type>String</type>
<predicate/>
<deprecated>false</deprecated>
<required>false</required>
<default>Default_Audio</default>
<description>The audio track to analyze.</description>
</key>
</configKeys>
</engine>
</engines>
</responsedata>
</autnresponse>