Hello every one
I made it that I connect the Camera with API and javascript and php everything worked
PHP code :
` $Parametrs =$_POST['TakeNewPic'];
$opts =
array(
"user" => "THETAYN10113693",
"password" => "10113693",
"name" => $Parametrs
);
$post = json_encode($opts);
$context = stream_context_create(array(
'http' => array(
'method' => "POST",
'timeout' => 60,
'content' => $post,
'header' => "Content-Type : application/json"
)
));
$url = 'http://192.168.1.1/osc/commands/execute';//.$https_server;
$result = file_get_contents($url,false, $context);
echo($result);`
but now they want of me Connect the Camera with Server not with Client ? and i don’t know what the mean? they told me that this IP :192.168.1.1 can change to another one when we connect with server
I want someone to explain this to me, even if in general, so that I can search in Google, I want points or keywords