云游戏Avatar, 视频录制完成上报回调接口. 用于PAAS回调通知弹内
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
request_param | ScreenRecordCallbackRequestDto | 可选 | PAAS视频录制回调 | ||
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | Result | 接口返回model | |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AlibabaCgameAvatarVideoRecordReportRequest req = new AlibabaCgameAvatarVideoRecordReportRequest(); AlibabaCgameAvatarVideoRecordReportRequest.ScreenRecordCallbackRequestDto obj1 = new AlibabaCgameAvatarVideoRecordReportRequest.ScreenRecordCallbackRequestDto(); obj1.setGameId( "cgdctwrqs" ); obj1.setTrackInfo( "9dacb134-1735-4e3b-bb33-3bea06ae54ad" ); obj1.setAccountDomain(0L); obj1.setDownloadUrl( "http://ali-cloudgame.oss-cn-zhangjiakou.aliyuncs.com/720p.mp4?OSSAccessKeyId=LTAI4FrVZfkTUiNQ2hu8Z4uk&Expires=361605860928&Signature=0EULWMQnEjKQs8cHFlLttlZaFiI%3D" ); obj1.setVersion(1L); obj1.setAccountId( "NUAzXzcyMTA5OTE4MTgzViRg" ); obj1.setExpireTime(1639238400000L); obj1.setAction( "SCREEN_RECORDING_CALL_BACK" ); obj1.setProjectId( "cg-avatar" ); req.setRequestParam(obj1); AlibabaCgameAvatarVideoRecordReportResponse rsp = client.execute(req); System.out.println(rsp.getBody()); |
1 2 3 4 5 6 7 8 9 10 | < alibaba_cgame_avatar_video_record_report_response > < result > < code >0</ code > < data > < message >Consumer Success</ message > < consume_state >1</ consume_state > </ data > < message >SUCCESS</ message > </ result > </ alibaba_cgame_avatar_video_record_report_response > |
1 2 3 4 5 6 | < error_response > < code >50</ code > < msg >Remote service error</ msg > < sub_code >isv.invalid-parameter</ sub_code > < sub_msg >非法参数</ sub_msg > </ error_response > |
错误码 | 错误描述 | 解决方案 |
---|