使用API时,我在AS15上收到403错误。当我请求支持的ApiList'。
时,会列出呼叫Available Api List: {'id': 1, 'result': [['getMethodTypes', 'getAvailableApiList', 'setShootMode', 'getShootMode', 'getSupportedShootMode', 'getAvailableShootMode', 'setSteadyMode', 'getSteadyMode', 'getSupportedSteadyMode', 'getAvailableSteadyMode', 'setViewAngle', 'getViewAngle', 'getSupportedViewAngle', 'getAvailableViewAngle', 'setMovieQuality', 'getMovieQuality', 'getSupportedMovieQuality', 'getAvailableMovieQuality', 'startLiveview', 'stopLiveview', 'startMovieRec', 'stopMovieRec', 'startIntervalStillRec', 'stopIntervalStillRec', 'setCameraFunction', 'getCameraFunction', 'getSupportedCameraFunction', 'getAvailableCameraFunction', 'getStorageInformation', 'getApplicationInfo', 'getVersions', 'getEvent']]}
但是当我真正称呼它时,那就是......
Supported Movie Quality [ERROR] camera doesn't workHTTP Error 403: Forbidden
这里有一些讨论: HDR-AS15: Supported Movie Quality [ERROR] camera doesn't work #9
任何人都有建议我们如何验证' API列表(相机提供的是),以便我们不会出错?
答案 0 :(得分:0)
我建议检查API参考文档" Sony_CameraRemoteAPIbeta_API-Reference_v2.00.pdf"在每个兼容相机的"支持的API组中#34;第11页。这将告诉您哪些设备支持哪些API。如您所见,AS-15不支持电影质量。