Connect Ricoh Theta y1 Camera with server

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

1 Like

After you get it working with the server, this is a concept/example of image processing

Building a Web Site for 360 Images with Django, Bootstrap, A-Frame - #5 by codetricity


If the camera is in a secured office, you can disable digest authentication in client mode.

_authentication