To retrieve a list of all the rolling buffers that have been configured use the following procedure.
To list your rolling buffers
Send the GetStreams
action to Media Server. For example:
http://localhost:14000/action=GetStreams
Media Server returns a list of all of your rolling buffers.
You can also retrieve information about the video stored in a rolling buffer. For example, you might record video for one hour each morning and two hours each afternoon. To get information about what has been stored in a rolling buffer, use the following procedure.
To return a list of the content in a rolling buffer
Send the GetRecordedRanges
action to Media Server.
You can filter the results by setting the following optional parameters:
Stream
|
The rolling buffer to list of recorded content for. If this parameter is not set, Media Server returns results for all rolling buffers. |
StartTime
|
Only show content available after this time. Specify the start time in epoch milliseconds or ISO-8601 format. |
Duration
|
The length of time after the start time to return a list of available content for. Specify the duration as a time duration. |
For example, to retrieve a list of content available in the BBCNews
rolling buffer for 24 hours from 16:27:54 on 21 February 2014:
http://localhost:14000/action=GetRecordedRanges&Stream=BBCNews &StartTime=1393000074243 &Duration=24hours
|