Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Panel
borderColor#CCCCCC
bgColor#FFFFFF
titleBGColor#F0F0F0
titleOn page:
borderStylesolid
Table of Contents

...

Get all available sources

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",
"friendlyNameLong" : "Camera 3",
"friendlyNameShort" : "3"
},
    "SERVER2/DeviceIpint.5/VideoSource.0:0" :
    {
        "origin" : "SERVER2/DeviceIpint.5/VideoSource.0:0",
        "friendlyNameLong" : "Camera 5",
        "friendlyNameShort" : "5"
    }
}

...

...

Get all available original sources of server

GET http://server/prefix/video-origins/HOSTNAME/ gets all available original sources (cameras) of the specified server.

...

...

Get source info

GET http://server/prefix/video-origins/VIDEOSOURCEID - gets source information. VIDEOSOURCEID – identifier of endpoint source consisting of 3 components (HOSTNAME/ObjectType.Id/Endpoint.Name).

Sample request:

GET http://server/prefix/video-origins/SERVER1

Sample response:

{
    "SERVER1/DeviceIpint.3/VideoSource.0:0" :
    {
        "origin" : "SERVER1/DeviceIpint.3/VideoSource.0:0",
"friendlyNameLong" : "Camera 3",
"friendlyNameShort" : "3"
}
}

...

Get all sources info

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",
        "friendlyNameLong" : " Camera 5",
        "friendlyNameShort" : "5"
    },
    "SERVER2/VideoDecoder.0/VideoSource" :
    {
        "origin" : "SERVER2/DeviceIpint.5/VideoSource.0:0",
        "friendlyNameLong" : "SERVER2/Videodecoder 0",
"friendlyNameShort" : "Videodecoder 0"
}
}