GetStatus
Returns the following details about the Media Server:
- statistics about running requests (sessions)
- product name
- version number
- build number
- the ACI port
- the service port
- the modules that have been enabled
- the installation directory
- the number of ACI threads
- the special instruction sets supported by the CPU
NOTE: If Media Server is processing video, this action will take at least a second to complete.
Parameters
Parameter | Description | Required |
---|---|---|
CheckResources | Instructs Media Server to check the availability of resources such as IDOL Servers. | No |
ShowTracksStatistics | A Boolean value that specifies whether to expand the statistics for a session by showing statistics for each track. | No |
Example
/action=GetStatus
Response
The following is a sample response from the GetStatus
action:
<action>GETSTATUS</action> <response>SUCCESS</response> <responsedata> <statistics> <channelsAllocated visual="1" surveillance="0" audio="1" videoManagement="1"/> <channelsAvailable visual="1" surveillance="0" audio="1" videoManagement="1"/> <sessionStatistics token="..."> <processingSeconds>3</processingSeconds> <recordCount>3410</recordCount> <channelsUsage visual="1" surveillance="0" audio="0"/> </sessionStatistics> </statistics> <product>MediaServer</product> <version>12.9.0</version> <build>1234567</build> <aciport>14000</aciport> <serviceport>14001</serviceport> <enabledModules>audiomatch ocr speakerid speechtotext</enabledModules> <directory>C:\MediaServer</directory> <acithreads>4</acithreads> <cpuinstructionsets>SSE3 SSE4</cpuinstructionsets> </responsedata> </autnresponse>
To enable or disable modules, use the Enable parameter.
The cpuinstructionsets
element lists the special instruction sets that are supported by your CPU. Possible values include SSE3, SSE4, AVX, FMA, and AVX2. Media Server can use these instruction sets to improve performance, if they are present.
If you set the action parameter CheckResources
, Media Server checks and returns the availability of resources. For example, if you set CheckResources=IdolServer
:
<responsedata> <resources> <server type="Idol" configValue="localhost:9000/News" available="yes"> <status> <product>IDOL Server</product> <version>12.8.1</version> ... </status> </server> </resources> ... </responsedata>
If you have enabled GPU acceleration, the action returns the selected CUDA version and specifies which GPU is being used:
<cudaversion>10</cudaversion> <gpudeviceid>1</gpudeviceid>