Skip to content

Commit

Permalink
音视频通话,最小化时,焦点用户逻辑计算错误
Browse files Browse the repository at this point in the history
  • Loading branch information
imndx committed Dec 8, 2022
1 parent 948e1a5 commit 937f5af
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ private void showAudioView(AVEngineKit.CallSession session) {
private String nextFocusUserId(AVEngineKit.CallSession session) {
if (!TextUtils.isEmpty(focusTargetId) && (session.getParticipantIds().contains(focusTargetId))) {
PeerConnectionClient client = session.getClient(focusTargetId);
if (client != null && client.state == AVEngineKit.CallState.Connected && !client.videoMuted) {
if (client != null && client.state == AVEngineKit.CallState.Connected && !client.videoMuted && !client.audience) {
return focusTargetId;
}
}
Expand Down

0 comments on commit 937f5af

Please sign in to comment.