You can use the QueueInfo action to monitor the progress of Media Server as it processes a file (but not a stream).
For example, send the following action:
http://localhost:14000/action=QueueInfo
&QueueName=process
&QueueAction=progress
&Token=...
where the token parameter specifies the asynchronous action token returned by the process action.
HPE Media Server returns a response similar to:
<autnresponse>
<action>QUEUEINFO</action>
<response>SUCCESS</response>
<responsedata>
<action>
<token>......................................</token>
<status>Processing</status>
<progress>
<building_mode>false</building_mode>
<percent>26.407</percent>
<time_processing>71</time_processing>
<estimated_time_remaining>198</estimated_time_remaining>
</progress>
</action>
</responsedata>
</autnresponse>
The response includes the following information:
building_mode element specifies whether HPE Media Server is building progress information. If the value here is true, HPE Media Server is still analyzing the file to determine its length.percent element specifies the progress of HPE Media Server. In the previous example, HPE Media Server has processed 26% of the file.time_processing element indicates how long HPE Media Server has spent processing the file so far.estimated_time_remaining element provides an estimate of how long HPE Media Server needs to complete processing the file.|
|