Commit cfe35a11 by mReturn

Merge remote-tracking branch 'remotes/origin/live' into dev

parents b48aad92 56e60f22
...@@ -1282,7 +1282,7 @@ public class MLVBLiveRoomImpl extends MLVBLiveRoom implements HttpRequests.Heart ...@@ -1282,7 +1282,7 @@ public class MLVBLiveRoomImpl extends MLVBLiveRoom implements HttpRequests.Heart
if (view != null) { if (view != null) {
view.setVisibility(View.VISIBLE); view.setVisibility(View.VISIBLE);
} }
mTXLivePusher.setMirror(isFrontCamera); // mTXLivePusher.setMirror(isFrontCamera);
mTXLivePusher.startCameraPreview(view); mTXLivePusher.startCameraPreview(view);
} }
mPreviewType = LIVEROOM_CAMERA_PREVIEW; mPreviewType = LIVEROOM_CAMERA_PREVIEW;
...@@ -1528,7 +1528,7 @@ public class MLVBLiveRoomImpl extends MLVBLiveRoom implements HttpRequests.Heart ...@@ -1528,7 +1528,7 @@ public class MLVBLiveRoomImpl extends MLVBLiveRoom implements HttpRequests.Heart
public void switchCamera() { public void switchCamera() {
if (mTXLivePusher != null) { if (mTXLivePusher != null) {
isFrontCamera = !isFrontCamera; isFrontCamera = !isFrontCamera;
mTXLivePusher.setMirror(isFrontCamera); // mTXLivePusher.setMirror(isFrontCamera);
mTXLivePusher.switchCamera(); mTXLivePusher.switchCamera();
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment