...
Tip |
---|
{VIDEOSOURCEID} – three-component source endpoint ID (see Get list of cameras and information about them). For instance, "SERVER1/DeviceIpint.3/SourceEndpoint.video:0:0". |
Parameter | Required | Description | |||||
---|---|---|---|---|---|---|---|
w h | No | w – frame width, h – frame height.
| |||||
crop_x crop_y crop_width crop_height | No |
|
Info | ||
---|---|---|
| ||
By default, the snapshot update period is 30 seconds. To change this value, create the NGP_SNAPSHOT_TIMEOUT system variable and set the required value in milliseconds (see Appendix 9. Creating system variable). |
Sample request:
- To get
...
- a snapshot in the original resolution:
Code Block GET http://IP-Address:port/prefix/live/media/snapshot/Server1/DeviceIpint.23/SourceEndpoint.video:0:0
...
- To get a snapshot in 640*480 resolution:
Code Block GET http://IP-Address:port/prefix/live/media/snapshot/Server1/DeviceIpint.23/SourceEndpoint.video:0:0?w=640&h=480
...
- To get the right lower particle of a snapshot:
Code Block GET http://IP-Address:port/prefix/live/media/snapshot/Server1/DeviceIpint.23/SourceEndpoint.video:0:0?crop_x=0.5&crop_y=0.5&crop_width=0.5&crop_height=0.5
...
- To get the right lower particle of a snapshot in 640*480 resolution:
Code Block GET http://IP-Address:port/prefix/live/media/snapshot/Server1/DeviceIpint.23/SourceEndpoint.video:0:0?w=640&h=480&crop_x=0.5&crop_y=0.5&crop_width=0.5&crop_height=0.5
...