【问题标题】:Agora cloud recording not starting properlyAgora 云录制无法正常启动
【发布时间】: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"
        }
    }
}

当我尝试开始我的云录制时,我收到了 resourceIdsid,但我尝试停止它显示 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"
    }
}

谁能帮忙解决这个问题?

【问题讨论】:

标签: amazon-s3 agora.io


【解决方案1】:

一般来说,来自stop 的 404 响应意味着您对 start 的原始请求已正确格式化并成功调用以启动 Agora Cloud Recorder 实例,但某些原因导致 Agora Cloud Recorder worker 无法启动,所以当您调用 stop 没有什么可以停止,因为实际上什么都没有开始。

I wrote this quick-start guide on how to set up Cloud Recording 并使用Agora Postman collection 测试您的存储桶是否配置正确。我建议在 Postman 中使用它,因为它提供了一个工作配置,需要您将连接凭据设置到变量中,如果您的存储桶配置正确,它应该可以工作。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2023-03-30
    • 2021-12-09
    • 2021-09-02
    • 1970-01-01
    • 2021-07-11
    • 2015-03-03
    • 2021-04-11
    相关资源
    最近更新 更多