GetStatus

Returns the following details about the HPE Media Server:

NOTE:

If HPE Media Server is processing video, this action will take at least a second to complete.

Parameters

Parameter Description Required
CheckResources Instructs HPE Media Server to check the availability of resources such as IDOL Speech Servers. No
ShowTracksStatistics A Boolean value that specifies whether to show 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="1" audio="1"/>
         <channelsAvailable visual="0" surveillance="1" audio="1"/>
         <sessionStatistics token="MTYuMjguOTQuMTcyOjE0MDAwOlBST0NFU1M6MTQ0MzE4MDAxMzExNjAwMTU1ODgzNjM3">
            <processingSeconds>3</processingSeconds>
            <recordCount>3410</recordCount>
            <channelsUsage visual="1" surveillance="0" audio="0"/>
         </sessionStatistics>
      </statistics>
      <product>MediaServer</product>
      <version>11.0.0</version>
      <build>1234567</build>
      <aciport>14000</aciport>
      <serviceport>14001</serviceport>  
      <directory>C:\Autonomy\MediaServer</directory>
      <acithreads>4</acithreads>
   </responsedata>
</autnresponse>

If you set the action parameter ShowTracksStatistics=True, HPE Media Server returns statistics for the tracks in addition to statistics for the session:

<sessionStatistics token="MTYuMjguOTQuMTcyOjE0MDAwOlBST0NFU1M6MTQ0MzE4MDAxMzExNjAwMTU1ODgzNjM3">
   <tracks>
      <track name="Audio__1" recordCount="1533" lastTimestamp="2015-09-25T11:43:18.124047Z"/>
      <track name="Encoded Source" recordCount="2489" lastTimestamp="2015-09-25T11:42:46.363647Z"/>
      <track name="Image_1" recordCount="918" lastTimestamp="2015-09-25T11:43:18.135047Z"/>
      <track name="Keyframe.Result" recordCount="4" lastTimestamp="2015-09-25T11:43:14.415047Z"/>
      <track name="Keyframe.ResultWithSource" recordCount="4" lastTimestamp="2015-09-25T11:43:14.415047Z"/>
      <track name="KeyframeOutput.Proxy" recordCount="4" lastTimestamp="2015-09-25T11:43:11.775047Z"/>
      <track name="LibAV.Proxy" recordCount="1" lastTimestamp="2015-09-25T11:43:18.124047Z"/>
   </tracks>
   <processingSeconds>5</processingSeconds>
   <recordCount>4953</recordCount>
   <channelsUsage visual="1" surveillance="0" audio="0"/>
</sessionStatistics>

If you set the action parameter CheckResources, HPE Media Server checks and returns the availability of resources. For example, if you set CheckResources=IdolServer,SpeechToTextServers,SpeakerIdServers:

<responsedata>
   <resources>
      <server type="Idol" available="yes" port="9000" hostname="localhost">
         <status>
            <product>IDOL Server</product>
            <version>10.9.0</version>
            ...
         </status>
      </server>
      <speechToTextServers>
         <server type="speechToText" available="no" port="15000" hostname="localhost"/>
      </speechToTextServers>
      <speakerIdServers>SpeakerIdServers resource undefined</speakerIdServers>
   </resources>
   ...
</responsedata>

_HP_HTML5_bannerTitle.htm