Skip to content

Commit 003e2e3

Browse files
SundoggyNewarchurcode
authored andcommitted
隐藏通话中的麦克风标志
Change-Id: I6f22c1c03f4051f1c609bae7b0658e447c2e2dd8
1 parent 95d7bb9 commit 003e2e3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

trtc/src/main/java/com/tencent/iot/explorer/trtc/ui/audiocall/TRTCAudioCallActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ public void onUserVoiceVolume(Map<String, Integer> volumeMap) {
238238
String userId = entry.getKey();
239239
TRTCAudioLayout layout = mLayoutManagerTRTC.findAudioCallLayout(userId);
240240
if (layout != null) {
241-
layout.setAudioVolume(entry.getValue());
241+
// layout.setAudioVolume(entry.getValue());
242242
}
243243
}
244244
}

trtc/src/main/java/com/tencent/iot/explorer/trtc/ui/audiocall/audiolayout/TRTCAudioLayoutManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ public void updateAudioVolume(String userId, int audioVolume) {
169169
for (TRTCLayoutEntity entity : mLayoutEntityList) {
170170
if (entity.layout.getVisibility() == VISIBLE) {
171171
if (userId.equals(entity.userId)) {
172-
entity.layout.setAudioVolume(audioVolume);
172+
// entity.layout.setAudioVolume(audioVolume);
173173
}
174174
}
175175
}

0 commit comments

Comments
 (0)