AliVCSDK 6.17.0
阿里云音视频SDK,为视频开发者提供一站式接入服务
 
载入中...
搜索中...
未找到
com.alivc.live.pusher.AlivcLivePushErrorListener类 参考abstract

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

Public 成员函数

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

详细描述

推流错误监听器

作者
阿里云直播推流SDK
调用示例
mAlivcLivePusher.setLivePushErrorListener(new AlivcLivePushErrorListener () {});
参见
错误异常及特殊场景处理

在文件 AlivcLivePushErrorListener.java12 行定义.

成员函数说明

◆ onSDKError()

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

SDK错误回调

参数
livePusherAlivcLivePusher实例
error异常
注意
请根据官网文档,处理异常情况、特殊情况:
参见
Handle errors, exceptions, and special cases

◆ onSystemError()

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

系统错误回调

参数
livePusherAlivcLivePusher实例
error异常
注解
系统错误,建议外部断流处理(stopPush & destroy)
注意
请根据官网文档,处理异常情况、特殊情况:
参见
Handle errors, exceptions, and special cases