Merge pull request #1941 from nextcloud/fix-call-flags-in-video-calls

Fix call flags in video calls
This commit is contained in:
Tim Krueger 2022-04-25 12:38:46 +02:00 committed by GitHub
commit 73b772dfa1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1349,7 +1349,8 @@ public class CallActivity extends CallBaseActivity {
if (isVoiceOnlyCall) { if (isVoiceOnlyCall) {
inCallFlag = Participant.InCallFlags.IN_CALL + Participant.InCallFlags.WITH_AUDIO; inCallFlag = Participant.InCallFlags.IN_CALL + Participant.InCallFlags.WITH_AUDIO;
} else { } else {
inCallFlag = Participant.InCallFlags.IN_CALL + Participant.InCallFlags.WITH_VIDEO; inCallFlag =
Participant.InCallFlags.IN_CALL + Participant.InCallFlags.WITH_AUDIO + Participant.InCallFlags.WITH_VIDEO;
} }
int apiVersion = ApiUtils.getCallApiVersion(conversationUser, new int[]{ApiUtils.APIv4, 1}); int apiVersion = ApiUtils.getCallApiVersion(conversationUser, new int[]{ApiUtils.APIv4, 1});