changed the interface of live and update version
This commit is contained in:
@@ -11,7 +11,7 @@ public interface ITrafficCarLiveCallBack {
|
||||
|
||||
}
|
||||
|
||||
void onLive();
|
||||
void onLive(String liveSn);
|
||||
|
||||
void onDisConnect();
|
||||
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user