AliVCSDK  4.5.1
阿里云音视频SDK,为视频开发者提供一站式接入服务
com.alivc.live.pusher.AlivcLivePushErrorListener接口 参考

推流错误监听器 更多...

Public 成员函数

void onSystemError (AlivcLivePusher livePusher, AlivcLivePushError error)
 
void onSDKError (AlivcLivePusher livePusher, AlivcLivePushError error)
 

详细描述

推流错误监听器

作者
阿里云直播推流SDK
调用示例
mAlivcLivePusher.setLivePushErrorListener(new AlivcLivePushErrorListener () {});
参见
com.alivc.live.pusher.AlivcLivePushError
com.alivc.live.pusher.AlivcLivePusher::setLivePushErrorListener(AlivcLivePushErrorListener)

在文件 AlivcLivePushErrorListener.java13 行定义.

成员函数说明

void com.alivc.live.pusher.AlivcLivePushErrorListener.onSDKError ( AlivcLivePusher  livePusher,
AlivcLivePushError  error 
)

SDK错误回调

参数
livePusherAlivcLivePusher实例
error异常
void com.alivc.live.pusher.AlivcLivePushErrorListener.onSystemError ( AlivcLivePusher  livePusher,
AlivcLivePushError  error 
)

系统错误回调

参数
livePusherAlivcLivePusher实例
error异常