Skip to content

Commit 7cb4180

Browse files
committed
Set audio mode to VoIP for outgoing calls
1 parent 3e7edee commit 7cb4180

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

android/src/main/java/io/wazo/callkeep/VoiceConnectionService.java

+1
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ public Connection onCreateOutgoingConnection(PhoneAccountHandle connectionManage
7878

7979
Connection outgoingCallConnection = createConnection(request);
8080
outgoingCallConnection.setDialing();
81+
outgoingCallConnection.setAudioModeIsVoip(true);
8182

8283
sendCallRequestToActivity(ACTION_ONGOING_CALL, request.getAddress().getSchemeSpecificPart());
8384
sendCallRequestToActivity(ACTION_AUDIO_SESSION, null);

0 commit comments

Comments
 (0)