更新时间:2026-11-03 GMT+08:00
分享

动态参数配置的回调

方法名称

void onDynamicConfigNotify(JSONObject result)

功能描述

动态参数配置的回调日志

响应示例

// 成功响应
{"type":"XXXConfig","result":0}
// 失败响应(应用未运行)
{"type":"XXXConfig","result":1}

当通过 setCloudVideoConfig 设置 frameType 或 encoderPlugin 后,云侧将通过该回调通知最终生效的配置结果。

{
    "type":"videoConfig",
    "result":0,"
     config":{"frameType":"H264","encoderPlugin":"VDC"
    }
}

相关文档