setOnConnectFail method

void setOnConnectFail(
  1. OnLivePusherError onConnectFail
)

推流链接失败

监听setNetworkDelegate回调

onConnectFail param errorCode 错误码

onConnectFail param errorDescription 错误描述

Implementation

void setOnConnectFail(OnLivePusherError onConnectFail) {
  this.onConnectFail = onConnectFail;
}