Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
android
/
dayu
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
cfe35a11
authored
Aug 11, 2020
by
mReturn
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'remotes/origin/live' into dev
parents
b48aad92
56e60f22
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
liveModule/src/main/java/com/dayu/livemodule/MLVBLiveRoomImpl.java
liveModule/src/main/java/com/dayu/livemodule/MLVBLiveRoomImpl.java
View file @
cfe35a11
...
@@ -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
();
}
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment