Insta360Develop / Insta360_OSC

36 stars 4 forks source link

OSC mode not working on Insta360 RS 1 inch #27

Closed eungyoda closed 1 year ago

eungyoda commented 1 year ago

tested using CURL as below.

curl -X POST \ -H "Content-Type: application/json;charset=utf-8" \ -H "Accept: application/json" \ -H "Content-Length: 84" \ -H "X-XSRF-Protected: 1" \ -d '{ "name": "camera.setOptions", "parameters": { "options": { "captureMode":"video" } } }' \ http://192.168.42.1/osc/commands/execute

Only the info command works.

curl -X GET http://192.168.42.1/osc/info {"manufacturer":"Arashi Vision","model":"Insta360 OneRS","serialNumber":"IRBEN2208DN7QS","firmwareVersion":"v2.0.8","supportUrl":"https://www.insta360.com/product/insta360-oners/","endpoints":{"httpPort":80,"httpUpdatesPort":10080},"gps":true,"gyro":true,"uptime":72,"api":["/osc/info","/osc/state","/osc/checkForUpdates","/osc/commands/execute","/osc/commands/status"],"apiLevel":[2],"_sensorModuleType":"Leica_Fisheye","_vendorVersion":"v1.1_build1"}

How does this work?