Unable to render embedded object: File (books.jpg) not found.
Go to documentation repository
...
GET http://server/prefix/video-origins/ - gets all available original sources (cameras). The requested identifiers will have the format as follows "HOSTNAME/ObjectType.Id/Endpoint.Name". Friendly name and other related meta data will be received.
Sample response:
{
"SERVER1/DeviceIpint.3/VideoSource.0:0" :
{
"origin" : "SERVER1/DeviceIpint.3/VideoSource.0:0",
"state" : "connected",
"friendlyNameLong" : "Camera 3",
"friendlyNameShort" : "3"
},
"SERVER2/DeviceIpint.5/VideoSource.0:0" :
{
"origin" : "SERVER2/DeviceIpint.5/VideoSource.0:0",
"state" : "disconnected",
"friendlyNameLong" : "Camera 5",
"friendlyNameShort" : "5"
}
}
...
{
"SERVER1/DeviceIpint.3/VideoSource.0:0" :
{
"origin" : "SERVER1/DeviceIpint.3/VideoSource.0:0",
"state" : "none",
"friendlyNameLong" : "Camera 3",
"friendlyNameShort" : "3"
}
}
...
GET http://server/prefix/video-sources/* - gets the list of all available sources not limited by original ones.
Sample request:
GET http://server/prefix/video-sources/SERVER2
Sample response:
{
"SERVER2/DeviceIpint.5/VideoSource.0:0" :
{
"origin" : "SERVER2/DeviceIpint.5/VideoSource.0:0",
"state" : "none",
"friendlyNameLong" : " Camera 5",
"friendlyNameShort" : "5"
},
"SERVER2/VideoDecoder.0/VideoSource" :
{
"origin" : "SERVER2/DeviceIpint.5/VideoSource.0:0",
"state" : "connected",
"friendlyNameLong" : "SERVER2/Videodecoder 0",
"friendlyNameShort" : "Videodecoder 0"
}
}
The "state" field display the source state. Available values:
- "connected";
- "disconnected";
- "signal_restored";
- "signal_lost";
- "authorization_failed";
- "accept_settings_failure"
- "rebooted";
- "network_failure";
- "ipint_internal_failure";
- "none".