视频直播 LIVE-客户端对象(HWLLSClient):on

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

on

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

功能说明

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

请求参数
  • event:必选,string类型,事件名称。具体请参见HWLLSClientEvent
  • handler:必选,function类型,事件处理方法。
  • withTimeout:选填,boolean类型,是否超时报错

返回参数

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