【问题标题】:Agora cloud recording custom layout not workingAgora 云录制自定义布局不起作用
【发布时间】:2021-03-27 05:39:18
【问题描述】:

当 uid 传递时,Agora 没有在自定义布局中捕获视频流。它跳过传递 uid 的那个流。

这是我正在使用的三个视频流的示例布局,它只捕获两个不存在 uid 的视频流。

我传递的 uid 是根据云记录中的文档,它是 32 位整数。 uid 是手动生成的,不是 Agora 生成的。

播放前 15 秒

"layoutConfig": [
                    {
                        "x_axis": 0.0,
                        "y_axis": 0.0,
                        "width": 1.0,
                        "height": 0.8,
                        "alpha": 1.0,
                        "render_mode": 1
                    },
                    {
                        "x_axis": 0.0,
                        "y_axis": 0.8,
                        "width": 0.5,
                        "height": 0.2,
                        "alpha": 1.0,
                        "render_mode": 1
                    },
                    {
                        "uid": "99142190",
                        "x_axis": 0.5,
                        "y_axis": 0.8,
                        "width": 0.5,
                        "height": 0.2,
                        "alpha": 1.0,
                        "render_mode": 1
                    }
                ]

最后 15 秒的欢呼

"layoutConfig": [
            {
                "x_axis": 0.0,
                "y_axis": 0.0,
                "width": 1.0,
                "height": 0.8,
                "alpha": 1.0,
                "render_mode": 1
            },
            {
                "uid": "99142190",
                "x_axis": 0.0,
                "y_axis": 0.8,
                "width": 0.5,
                "height": 0.2,
                "alpha": 1.0,
                "render_mode": 1
            },
            {
                "x_axis": 0.5,
                "y_axis": 0.8,
                "width": 0.5,
                "height": 0.2,
                "alpha": 1.0,
                "render_mode": 1
            }
        ]

【问题讨论】:

    标签: cloud recording agora.io conference videocall


    【解决方案1】:

    自定义布局和自定义生成的 uid 的 Agora 云录制无法正常工作。 需要使用agora生成的uid在云录制中自定义布局录制。

    【讨论】:

      猜你喜欢
      • 2019-11-30
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-09-02
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多