fix bug of onError
This commit is contained in:
@@ -125,7 +125,7 @@ public class RequestLiveManager {
|
||||
requestLiveListener.onSuccess(liveReceive.getSn(), liveReceive.getLive(),
|
||||
liveReceive.getLat(), liveReceive.getLon());
|
||||
} else {
|
||||
Logger.e(LiveConstant.TAG, "requestFrontVehicleLive exception : live receive msg is wrong, please check param");
|
||||
requestLiveListener.onError(new Throwable("liveReceiver msg is wrong : " + liveReceive.toString()));
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -176,7 +176,7 @@ public class RequestLiveManager {
|
||||
if (liveReceive != null && liveReceive.getLive() != null) {
|
||||
requestLiveListener.onSuccess(liveReceive.getLive());
|
||||
} else {
|
||||
Logger.e(LiveConstant.TAG, "requestFrontIntersectionLive exception : live receive msg is wrong, please connect tech");
|
||||
requestLiveListener.onError(new Throwable("request liveUrl is null,please connect tech"));
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -223,7 +223,7 @@ public class RequestLiveManager {
|
||||
if (liveReceive != null && liveReceive.getLive() != null) {
|
||||
requestLiveListener.onSuccess(liveReceive.getLive());
|
||||
} else {
|
||||
Logger.e(LiveConstant.TAG, "requestDesignativeIntersectionLive exception : live receive msg is wrong, please connect tech");
|
||||
requestLiveListener.onError(new Throwable("request liveUrl is null,please connect tech"));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -30,20 +30,20 @@ PASSWORD=xintai2018
|
||||
RELEASE=false
|
||||
# AI CLOUD 云平台
|
||||
# 工具类
|
||||
MOGO_UTILS_VERSION=1.0.66
|
||||
MOGO_UTILS_VERSION=1.0.67
|
||||
# 网络请求
|
||||
MOGO_NETWORK_VERSION=1.0.66
|
||||
MOGO_NETWORK_VERSION=1.0.67
|
||||
# 网络DNS
|
||||
MOGO_HTTPDNS_VERSION=1.0.66
|
||||
MOGO_HTTPDNS_VERSION=1.0.67
|
||||
# 鉴权
|
||||
MOGO_PASSPORT_VERSION=1.0.66
|
||||
MOGO_PASSPORT_VERSION=1.0.67
|
||||
# 常链接
|
||||
MOGO_SOCKET_VERSION=1.0.66
|
||||
MOGO_SOCKET_VERSION=1.0.67
|
||||
# 数据采集
|
||||
MOGO_REALTIME_VERSION=1.0.66
|
||||
MOGO_REALTIME_VERSION=1.0.67
|
||||
# 探路,道路事件发布,获取
|
||||
MOGO_TANLU_VERSION=1.0.66
|
||||
MOGO_TANLU_VERSION=1.0.67
|
||||
# 直播推流
|
||||
MOGO_LIVE_VERSION=1.0.66
|
||||
MOGO_LIVE_VERSION=1.0.67
|
||||
# 直播拉流
|
||||
MOGO_TRAFFICLIVE_VERSION=1.0.66
|
||||
MOGO_TRAFFICLIVE_VERSION=1.0.67
|
||||
|
||||
Reference in New Issue
Block a user