云端录制开始成功但阿里云没数据

云端录制start成功返回了,但是阿里云没有数据上传上去

start返回数据
{“resourceId”:“Etkl6g-zSB7EpP-Da1zN65LrS5SVe7lP8nOMbvN5whY6VMyt1PaWnMGnFnrLJCm3T9iQ3gc3NPXxD6jGq_3MWJun2xw1saFS2LMnvIN0x-7nLpFUa-SPfhLK93tPQ-7HHpv-wH-DB5OycbSsHhDE4mzOZ5k9hbVQ2zmxWzCq6qlmAFGR9IHS3RyXtLbCeaern7vwWzQcwYhLR6Eebd6tTlhbbxS9NiL1FKx_Q7WmfK54KsirsmGFUpYLC3K2pHwjSBJSgiEa4T-LZmsDODuHtQ”,“sid”:“ef5075dd9d4cae08262c96a9af054261”}

可以帮我查一下原因么,谢谢

从后台数据来看:
1、error code is 400, error message is The specified object is not valid.
请对照检查第三方云存储信息是否填写正确;
2、频道内其他客户端用户使用了 String 型 uid,云端录制目前还不支持 String 型 uid。 请将 Web 端用的 uid 改为 int 型。

还是不可以,query也会404

{“resourceId”:“Etkl6g-zSB7EpP-Da1zN65LrS5SVe7lP8nOMbvN5whY6VMyt1PaWnMGnFnrLJCm3T9iQ3gc3NPXxD6jGq_3MWJun2xw1saFS2LMnvIN0x-7SD5Ci1ilGOYEpgxTeu7QFxYvp5BRXDMDNci6Pq4oVVsWYY4cTC7EXlDlIvL9v68HMhxQZ9BbktsECNZ_rHR52BM3IJhhbYeUHVPcMYXj51g_ry8BhL7Y-mUzsYZzRNSYsee1WPnyY63_-80H0ErjIr8tV47O3VoIW4z-IVKcfNA”,“sid”:“41d65739984e30b44268dbab2c6f558f”}

error code is 400, error message is The specified object is not valid.
还是一样的报错,你传的参数有问题吧…麻烦贴下 start 请求的具体 url 和参数?

或者自行对照检查一下请求包体~

{
  "uid": "527841",
  "cname": "httpClient463224",
  "clientRequest": {
      "token": "<token if any>",
      "recordingConfig": {
          "maxIdleTime": 30,
          "streamTypes": 2,
          "audioProfile": 1,
          "channelType": 0, 
          "videoStreamType": 1, 
          "transcodingConfig": {
              "height": 640, 
              "width": 360,
              "bitrate": 500, 
              "fps": 15, 
              "mixedVideoLayout": 1,
              "backgroundColor": "#FF0000"
                      },
          "subscribeVideoUids": ["123","456"], 
          "subscribeAudioUids": ["123","456"],
          "subscribeUidGroup": 0
      }, 
     //以下内容需要填写第三方云存储信息
      "storageConfig": {
          "accessKey": "xxxxxxf",
          "region": 3,
          "bucket": "xxxxx",
          "secretKey": "xxxxx",
          "vendor": 2,
          "fileNamePrefix": ["directory1","directory2"]
      }
  }
}

有了,前端少传个字段没注意,谢谢啦

好的,不客气~

阿里云是有数据了,但是stop的时候报49,文档里没这错误码

url
https://api.agora.io/v1/apps/260e60ad23f8442b97c690a3384e68ee/cloud_recording/resourceid/Etkl6g-zSB7EpP-Da1zN65LrS5SVe7lP8nOMbvN5whY6VMyt1PaWnMGnFnrLJCm3T9iQ3gc3NPXxD6jGq_3MWJun2xw1saFS2LMnvIN0x-6SXRZQ2haPRI8iTjhPF09U29NNFMXhwrGRyjA493N-IA8yG99K1K3QtQw9eNt1k5Ze027R_4DiZHVH9dndN5tYT-pjRzeQVPxuM-U19Ekt56luhEzGLrEMdUiusdmKuBFZQ57FHrWW2cdoro4n8gqOc6MGFLxva23q6ZWdKEXkxw/sid/dd6e932676484942c98f048faacb356c/mode/mix/stop

stop请求参数
{“cname”:“444444”,“uid”:“999999”,“clientRequest”:{}}

返回
{
“resourceId”: “Etkl6g-zSB7EpP-Da1zN65LrS5SVe7lP8nOMbvN5whY6VMyt1PaWnMGnFnrLJCm3T9iQ3gc3NPXxD6jGq_3MWJun2xw1saFS2LMnvIN0x-6SXRZQ2haPRI8iTjhPF09U29NNFMXhwrGRyjA493N-IA8yG99K1K3QtQw9eNt1k5Ze027R_4DiZHVH9dndN5tYT-pjRzeQVPxuM-U19Ekt56luhEzGLrEMdUiusdmKuBFZQ57FHrWW2cdoro4n8gqOc6MGFLxva23q6ZWdKEXkxw”,
“sid”: “dd6e932676484942c98f048faacb356c”,
“code”: 49
}

从后台看,云录制端的 Quit Status 是 KICKOUT,即被 RESTful API 的踢人请求踢出频道了。所以 stop 时会返回 49,但是应该不会影响实际使用。

好的,谢谢辛苦了