..
This commit is contained in:
@@ -60,12 +60,12 @@ public class V2XPushLiveCarWindow extends V2XBasWindow implements IV2XWindow<V2X
|
||||
|
||||
public void initView(Context context) {
|
||||
//Logger.w(MODULE_NAME, "初始化直播小窗口View。。。。。");
|
||||
View view = LayoutInflater.from(context).inflate(V2XServiceManager.getMoGoStatusManager().isVrMode()
|
||||
LayoutInflater.from(context).inflate(V2XServiceManager.getMoGoStatusManager().isVrMode()
|
||||
? R.layout.item_v2x_push_live_video_vr
|
||||
: R.layout.item_v2x_push_live_video, this);
|
||||
// 详情列表
|
||||
mV2XLiveGSYVideoView = view.findViewById(R.id.videoPlayer);
|
||||
mIvReportHead = view.findViewById(R.id.ivReportHead);
|
||||
mV2XLiveGSYVideoView = findViewById(R.id.videoPlayer);
|
||||
mIvReportHead = findViewById(R.id.ivReportHead);
|
||||
ImageView pushVideoClose = findViewById(R.id.pushVideoClose);
|
||||
pushVideoClose.setOnClickListener(v -> close());
|
||||
}
|
||||
|
||||
@@ -50,13 +50,13 @@ public class V2XVoiceCallLiveCarWindow extends V2XBasWindow
|
||||
|
||||
private void initView(Context context) {
|
||||
Logger.w(MODULE_NAME, "V2X===初始化语音呼叫直播视图");
|
||||
View view = LayoutInflater.from(context).inflate(V2XServiceManager.getMoGoStatusManager().isVrMode()
|
||||
LayoutInflater.from(context).inflate(V2XServiceManager.getMoGoStatusManager().isVrMode()
|
||||
? R.layout.window_see_carlive_video_vr
|
||||
: R.layout.window_see_carlive_video, this);
|
||||
CarZegoLiveVideoView mV2XCarLiveVideoView = view.findViewById(R.id.videoPlayer);
|
||||
tvCountDown = view.findViewById(R.id.tvCountDown);
|
||||
ImageView ivLiveVideoClose = view.findViewById(R.id.liveVideoClose);
|
||||
ivVideoPlayingSign = view.findViewById(R.id.ivVideoPlayingSign);
|
||||
CarZegoLiveVideoView mV2XCarLiveVideoView = findViewById(R.id.videoPlayer);
|
||||
tvCountDown = findViewById(R.id.tvCountDown);
|
||||
ImageView ivLiveVideoClose = findViewById(R.id.liveVideoClose);
|
||||
ivVideoPlayingSign = findViewById(R.id.ivVideoPlayingSign);
|
||||
mV2XCarLiveVideoView.addOnVideoStatusChangeListener(videoPlaying -> {
|
||||
isVideoPlay = videoPlaying;
|
||||
if (isVideoPlay) {
|
||||
|
||||
Reference in New Issue
Block a user