【发布时间】:2021-12-31 10:11:34
【问题描述】:
我在使用 amazon S3 进行 agora 云录制时遇到了一些问题。无法正确连接s3。运行邮递员时出现404 错误。
{
"cname": "Stream-On",
"uid": "527841",
"clientRequest": {
"token": "temp_token",
"recordingConfig": {
"maxIdleTime": 120,
"streamTypes": 2,
"audioProfile": 1,
"channelType": 1,
"videoStreamType": 0,
"transcodingConfig": {
"width": 360,
"height": 640,
"fps": 30,
"bitrate": 600,
"mixedVideoLayout": 1,
"maxResolutionUid": "1"
}
},
"storageConfig": {
"vendor": 1,
"region": 8,
"bucket": "live-stream",
"accessKey": "Axxxxxxxxxxxxxxxx",
"secretKey": "Axxxxxxxxxxxxxxxxxxx"
}
}
}
当我尝试开始我的云录制时,我收到了 resourceId 和 sid,但我尝试停止它显示 Failed to find worker 并且我的 amazon s3 存储桶也仍然是空的
{
"resourceId": "temp_resource_id",
"code": 404,
"serverResponse": {
"command": "StopCloudRecorder",
"payload": {
"message": "Failed to find worker."
},
"subscribeModeBitmask": 1,
"vid": "471258"
}
}
谁能帮忙解决这个问题?
【问题讨论】:
-
您是否在发送请求的域的存储桶上设置了 CORS 策略? docs.aws.amazon.com/AmazonS3/latest/userguide/…
-
我试过这个,但我仍然面临这个问题。 prnt.sc/22f14rp