diff --git a/app/src/main/java/com/example/ivdemo/DuplexVideoActivity.java b/app/src/main/java/com/example/ivdemo/DuplexVideoActivity.java index c633d52..bb54e30 100644 --- a/app/src/main/java/com/example/ivdemo/DuplexVideoActivity.java +++ b/app/src/main/java/com/example/ivdemo/DuplexVideoActivity.java @@ -23,6 +23,7 @@ protected void initWidget() { mTextureView.setSurfaceTextureListener(this); mRemoteView = findViewById(R.id.surfaceView_duplex); + mRemoteView.setSurfaceTextureListener(this); mPlayer = new SimplePlayer(); mCameraRecorder = new CameraRecorder(); }