mirror of
https://github.com/nextcloud/talk-android
synced 2025-03-12 18:40:52 +00:00
parent
189a73975b
commit
700cf860af
@ -431,8 +431,7 @@ public class CallController extends BaseController {
|
|||||||
cameraSwitchButton.setVisibility(View.GONE);
|
cameraSwitchButton.setVisibility(View.GONE);
|
||||||
}
|
}
|
||||||
|
|
||||||
// setting this to true because it's not shown by default
|
pipVideoView.setMirror(true);
|
||||||
pipVideoView.setMirror(false);
|
|
||||||
pipVideoView.init(rootEglBase.getEglBaseContext(), null);
|
pipVideoView.init(rootEglBase.getEglBaseContext(), null);
|
||||||
pipVideoView.setZOrderMediaOverlay(true);
|
pipVideoView.setZOrderMediaOverlay(true);
|
||||||
// disabled because it causes some devices to crash
|
// disabled because it causes some devices to crash
|
||||||
@ -591,7 +590,6 @@ public class CallController extends BaseController {
|
|||||||
VideoCapturer videoCapturer = enumerator.createCapturer(deviceName, null);
|
VideoCapturer videoCapturer = enumerator.createCapturer(deviceName, null);
|
||||||
|
|
||||||
if (videoCapturer != null) {
|
if (videoCapturer != null) {
|
||||||
pipVideoView.setMirror(false);
|
|
||||||
return videoCapturer;
|
return videoCapturer;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -733,7 +731,6 @@ public class CallController extends BaseController {
|
|||||||
cameraVideoCapturer.switchCamera(new CameraVideoCapturer.CameraSwitchHandler() {
|
cameraVideoCapturer.switchCamera(new CameraVideoCapturer.CameraSwitchHandler() {
|
||||||
@Override
|
@Override
|
||||||
public void onCameraSwitchDone(boolean b) {
|
public void onCameraSwitchDone(boolean b) {
|
||||||
pipVideoView.setMirror(false);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user