正在初始化索尼相机 API - 相机卡住

Initializing Sony Camera API - Camera Stuck

我似乎无法使用 API 开始拍照。我可以拨打多个 API 信息电话,但摄像头似乎卡住了。这是我正在做的事情:

如何让相机准备好开始拍照?我做错了什么?

getEvent 的结果:

{ "result": [ { "type": "availableApiList", "names": [ "getVersions", "getMethodTypes", "getApplicationInfo", "getAvailableApiList", "getEvent", "getSupportedCameraFunction", "startRecMode", "stopRecMode", "getCameraFunction", "getAvailableCameraFunction" ] }, { "cameraStatus": "NotReady", "type": "cameraStatus" }, null, { "type": "liveviewStatus", "liveviewStatus": false }, null, [], [], null, null, null, [], null, { "cameraFunctionCandidates": [ "Contents Transfer", "Remote Shooting" ], "type": "cameraFunction", "currentCameraFunction": "Remote Shooting" }, null, null, null, null, null, null, { "postviewImageSizeCandidates": [ "2M" ], "type": "postviewImageSize", "currentPostviewImageSize": "2M" }, null, { "shootModeCandidates": [ "still" ], "type": "shootMode", "currentShootMode": "still" }, null, null, null, null, null, null, null, null, null, null, null, { "type": "whiteBalance", "currentColorTemperature": 0, "checkAvailability": true, "currentWhiteBalanceMode": "" }, { "type": "touchAFPosition", "currentTouchCoordinates": [], "currentSet": false } ], "id": 1 }

确保在调用 "actTakePicture" 之前调用 "startRecMode"。您需要为以下相机调用"startRecMode"才能启用拍摄功能。

NEX-5R NEX-6 NEX-5T ILCE-7 ILCE-7R ILCE-5000 DSC-HX400V DSC-HX60V ILCE-6000 DSC-RX100M3 ILCE-7S ILCE-5100 ILCE-7M2 DSC-HX90V DSC-WX500 DSC-RX100M4 DSC-RX10M2 ILCE-7RM2 ILCE-7SM2