【问题标题】:Initializing Sony Camera API - Camera Stuck初始化 Sony 相机 API - 相机卡住
【发布时间】:2015-11-05 06:46:30
【问题描述】:

我似乎无法使用 API 开始拍照。我可以调用几个信息 API 调用,但似乎相机卡住了。这就是我正在做的事情:

  • 在 RX-10 M2(最新版本)上启动智能遥控器
  • 连接到相机 wifi。
  • 相机显示正在连接...并卡在那里
  • 致电http://camera_ip:/sony/camera/getEvent
  • 获取 cameraStatus: Not Readin(完整结果如下)
  • 调用getAvailableCameraFunction,我回Other Function
  • 打电话给actTakePicture,我回了Not Available Now

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

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 }

【问题讨论】:

    标签: camera sony


    【解决方案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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2022-08-02
      • 2014-10-07
      • 2020-11-01
      • 1970-01-01
      • 2012-08-05
      • 2014-03-07
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多