Insta360Develop / ProCameraApi

ProCameraApi decribes protocols to control Insta360 Pro, Insta360 Pro2, Insta360 Titan.
https://www.insta360.com
38 stars 11 forks source link

Most of the commends do not exist!! #6

Open alxcouto opened 1 year ago

alxcouto commented 1 year ago

Insta360 PRO 2, FW: 1.2.0

Trying to build a profesional App with Touchdesigner.

Documentation is so bad, where are the options for commands? i mean all the options, not just a few!

Thanks, Àlex

alxcouto commented 1 year ago

After few hours fighting ... yes, they do exist, but it's not easy...

i'm able to execute camera._connect and get Fingerprint (xxxxxxxxxx=).

Then i copy Fingerprint into the header:

content-Type: application/json Accept: application/json Fingerprint: xxxxxxxxxx=

I paste below my camera._startLive json command for trying to get 6 cameras streams in HLS.

The camera turns its leds in blue for a few seconds, but then red with "Error: 437" on the display.

Can you check my json command?

{ "name": "camera._startLive", "parameters":{ "origin":{ "mime":"h264", "width":3840, "height":2160, "framerate":60.0, "bitrate":100, "logMode":1, "liveUrl":"http://192.168.1.188:8000/Pro2/live", "saveOrigin":false }, "audio":{ "mime":"aac", "sampleFormat":"s16", "channelLayout":"stereo", "samplerate":48000, "bitrate":128 } }, "autoConnect":{ "enable":true, "interval":1000, "count":-1 } }

Tianweihaihaihai commented 1 year ago

"liveUrl":"http://192.168.1.188:8000/Pro2/live", using false port, need to use "liveUrl":"http://192.168.1.188:1935/Pro2/live",