ricohapi / theta-api-specs

THETA API Specifications
28 stars 8 forks source link

USB API TerminateOpenCapture #32

Closed karmelcorn closed 8 months ago

karmelcorn commented 8 months ago

Hi,

For the TerminateOpenCapture call, where and how do I pass in the TransactionID.

I am using the Windows MTP example.

I am able to start the video recording with res = command.Execute(MtpOperationCode.InitiateOpenCapture, new uint[2] { 0, 0 }, null);

but not able to execute the TerminateOpenCapture command.

karmelcorn commented 8 months ago

Got it to work with the following command

res = command.Execute(MtpOperationCode.TerminateOpenCapture, new uint[1] { 0xFFFFFFFF }, null);