The method and parameters
Stream.GetMediaUrls is used to get the list of media-url. The media service returns a list of URLs for each specified stream, enabling playback in various formats. If a stream is not served by this server, false is returned for that stream. If a stream or DVR functionality is prohibited, false will be returned as the value for the corresponding URLs.
string Stream.GetMediaUrls (object cameras, unsigned ttl)
object cameras required – a list of streams for which URLs are requested.
unsigned ttl = 3600 – the duration for which the playback URL is available.
|
POST /api/ |
|
200 |
|
List of playback URL objects JSON
|
|
400 |
|
The JSON-RPC error JSON
|
|
500 |
|
The server error |