视频直播 LIVE-主入口(HWLLSPlayer):on

时间:2024-09-03 16:27:56

on

on(event: string, handler: function, withTimeout?: boolean): void

功能说明

注册客户端对象事件回调接口。

请求参数
  • event:必选,string类型,事件名称, 注册Error事件,监听打点或者日志上传的错误信息。
  • handler:必选,function类型,事件处理方法。
  • withTimeout:选填,boolean类型,是否超时报错

返回参数

support.huaweicloud.com/llsdk-live/live_19_0009.html