fixbug
This commit is contained in:
@@ -99,6 +99,14 @@ public class TrafficLiveCurrentManager
|
||||
}
|
||||
|
||||
private void onVehicleLiveSuccess(String liveSn, SurfaceView surfaceView) {
|
||||
if (TextUtils.isEmpty(liveSn)) {
|
||||
if (TrafficLiveCurrentManager.this.trafficLiveCallBack != null) {
|
||||
TrafficLiveCurrentManager.this.trafficLiveCallBack.onError("There are no live vehicles ahead !");
|
||||
} else {
|
||||
Logger.e(TAG, "onVehicleLiveSuccess , but result liveSn is null");
|
||||
}
|
||||
return;
|
||||
}
|
||||
String sn = MoGoAiCloudClient.getInstance().getAiCloudClientConfig().getSn();
|
||||
// 初始化配置文件
|
||||
MoGoLivePushConfig mLivePushConfig = MoGoLivePushConfig.getInstance();
|
||||
|
||||
Reference in New Issue
Block a user