Make Linphone Android to use the new API of AndroidVideoWindowImpl class

This commit is contained in:
François Grisez 2014-10-16 10:55:35 +02:00
parent 17e3988a88
commit b9d50caef2
2 changed files with 2 additions and 4 deletions

View file

@ -66,8 +66,7 @@ public class VideoCallFragment extends Fragment implements OnGestureListener, On
fixZOrder(mVideoView, mCaptureView);
androidVideoWindowImpl = new AndroidVideoWindowImpl(mVideoView, mCaptureView);
androidVideoWindowImpl.setListener(new AndroidVideoWindowImpl.VideoWindowListener() {
androidVideoWindowImpl = new AndroidVideoWindowImpl(mVideoView, mCaptureView, new AndroidVideoWindowImpl.VideoWindowListener() {
public void onVideoRenderingSurfaceReady(AndroidVideoWindowImpl vw, SurfaceView surface) {
LinphoneManager.getLc().setVideoWindow(vw);
mVideoView = surface;
@ -90,7 +89,6 @@ public class VideoCallFragment extends Fragment implements OnGestureListener, On
LinphoneManager.getLc().setPreviewWindow(null);
}
});
androidVideoWindowImpl.init();
mVideoView.setOnTouchListener(new OnTouchListener() {
public boolean onTouch(View v, MotionEvent event) {

@ -1 +1 @@
Subproject commit a6c013bdb7a2b4a837763899178e44065fd0b27c
Subproject commit ee2a235302d7188a596e972a04285bc65797a98a