Skip to content

Commit

Permalink
add:trans to audio chat
Browse files Browse the repository at this point in the history
  • Loading branch information
ddspwr committed Mar 11, 2020
1 parent 5452d32 commit a3fbaad
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/src/main/java/com/dds/java/voip/FloatingVoipService.java
Original file line number Diff line number Diff line change
Expand Up @@ -228,10 +228,14 @@ private void clickToResume() {
}

private void showAudioInfo() {

FrameLayout remoteVideoFrameLayout = view.findViewById(R.id.remoteVideoFrameLayout);
if (remoteVideoFrameLayout.getVisibility() == View.VISIBLE) {
session.setupRemoteVideo(null);
remoteVideoFrameLayout.setVisibility(View.GONE);
if (surfaceView != null) {
surfaceView.release();
}
wm.removeView(view);
wm.addView(view, params);
}
Expand Down

0 comments on commit a3fbaad

Please sign in to comment.