changed the interface of live and update version

This commit is contained in:
zhongchao
2021-04-01 17:10:28 +08:00
parent d4792ce2ac
commit 7804ceb06c
5 changed files with 13 additions and 13 deletions

View File

@@ -11,7 +11,7 @@ public interface ITrafficCarLiveCallBack {
}
void onLive();
void onLive(String liveSn);
void onDisConnect();

View File

@@ -108,7 +108,7 @@ public class TrafficLiveCurrentManager
// 直接 查看对应SN的直播
MoGoLiveManager.getInstance().startLive(surfaceView);
if (TrafficLiveCurrentManager.this.trafficLiveCallBack != null) {
TrafficLiveCurrentManager.this.trafficLiveCallBack.onLive();
TrafficLiveCurrentManager.this.trafficLiveCallBack.onLive(liveSn);
}
}