Avatar

Please consider registering
Guest

Search

— Forum Scope —




— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

Register Lost password?
sp_Feed sp_TopicIcon
Sibell Recorder GetSnapshot
sp_NewPost Add Reply sp_NewTopic Add Topic
Avatar
Jose Malave
Boca Raton, Florida
Admin
Forum Posts: 624
Member Since:
January 3, 2014
sp_UserOfflineSmall Offline
1
February 15, 2017 - 5:15 pm
sp_Permalink sp_Print sp_EditHistory sp_QuotePost
sp_ReportPost

To get a snapshot you have to do a POST or a GET command to the device. like so

I have done a stike to remove the link feature on browsers. Breaking this down is the ip of the device,port is the http port and [/channelid] is the channel number. So if you want a snapshot from a recorder channel 3 then input the numerical 3. For a camera snapshot default to 1. 

Doing a POST request. 

HTTP Code

POST /GetSnapshot HTTP/1.1
Host: 192.168.1.201
Authorization: Basic YWRtaW46MTIzNDU2
Cache-Control: no-cache
Postman-Token: a5cb034f-5135-b757-6236-6adf083b2171
Content-Type: multipart/form-data; boundary=—-WebKitFormBoundary7MA4YWxkTrZu0gW

PHP Code

$request->setUrl(‘http://192.168.1.201/GetSnapshot’);
$request->setMethod(HTTP_METH_POST);

$request->setHeaders(array(
‘postman-token’ => ‘8bce154d-59b3-51b1-1663-8bc46a0c28af’,
‘cache-control’ => ‘no-cache’,
‘authorization’ => ‘Basic YWRtaW46MTIzNDU2’
));

try {
$response = $request->send();

echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}

Curl code

curl -X POST -H “Authorization: Basic YWRtaW46MTIzNDU2” -H “Cache-Control: no-cache” -H “Postman-Token: 192ba6d1-b50e-9908-66d3-d2d41aa2d01a” “http://192.168.1.201/GetSnapshot”

 

For a GET Request do 

 

HTTP Code

GET /GetSnapshot HTTP/1.1
Host: 192.168.1.201
Authorization: Basic YWRtaW46MTIzNDU2
Cache-Control: no-cache
Postman-Token: 5f78cb4b-1618-1432-412b-41f28be49ffd

 

PHP Code

$request->setUrl(‘http://192.168.1.201/GetSnapshot’);
$request->setMethod(HTTP_METH_GET);

$request->setHeaders(array(
‘postman-token’ => ‘ddce98d0-6915-9e11-fbf4-f093215e4cc3’,
‘cache-control’ => ‘no-cache’,
‘authorization’ => ‘Basic YWRtaW46MTIzNDU2’
));

try {
$response = $request->send();

echo $response->getBody();
} catch (HttpException $ex) {
echo $ex;
}

Curl Code

curl -X GET -H “Authorization: Basic YWRtaW46MTIzNDU2” -H “Cache-Control: no-cache” -H “Postman-Token: 6674fa87-2aec-7c93-4dd4-a54caca7e02b” “http://192.168.1.201/GetSnapshot”

 

For these, there is an auth which is basic. You can use a basic generator to add the proper string. Here we are using the default admin/123456 to authenticate ourselves when requesting for the snapshot.  

 Jose Malave - IT Director| Toll Free: 866-573-8878 | E-mail: support@securitycameraking.com

Calculate your Hard Disk Drive HereCalculate your Lens Here |  Calculate your Voltage Drop Here

       Video Vault (All Videos)         |  Security Camera Videos |     Smartphone Access Videos  

                    Check out the new Tech! HD-CVI       More.... 

Forum Timezone: America/New_York

Most Users Ever Online: 132

Currently Online:
20 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Dan Maresca: 460

Techpro Security: 404

shockwave199: 179

tubac: 166

Gilberto: 150

Jer7of9: 137

MrDeepFreeze: 136

javajeff: 132

Night Hawk: 98

West Coast Jones: 66

Newest Members:

leroyot11

acsvwtrf

Moorjasan

shawnawi16

ZarantH

Jesusfum

Melissaferie

stevechapmang

stevechapman

vcayopeapl

Forum Stats:

Groups: 5

Forums: 28

Topics: 1257

Posts: 5453

 

Member Stats:

Guest Posters: 77

Members: 7613

Moderators: 13

Admins: 4

Administrators: Damon Delcoro, Brad Besner, Jose Malave, Gabe Garcia

Moderators: Ryan, Zeke Richey, Jorge Nava, Heath Phillips, Brian Lee, Eric Wilson, Michael, Tonya Haley, LittleBrad, Ted, Matthew Ernst, Ariel Millard, Ben Degraw