We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 948b070 commit 5bb6385Copy full SHA for 5bb6385
android/src/main/java/io/wazo/callkeep/VoiceConnection.java
@@ -91,6 +91,20 @@ public void onAnswer() {
91
sendCallRequestToActivity(ACTION_AUDIO_SESSION, handle);
92
Log.d(TAG, "onAnswer executed");
93
}
94
+
95
96
+ @Override
97
+ public void onAnswer(int videoState) {
98
+ super.onAnswer(videoState);
99
+ Log.d(TAG, "onAnswer called");
100
101
+ setConnectionCapabilities(getConnectionCapabilities() | Connection.CAPABILITY_HOLD);
102
+ setAudioModeIsVoip(true);
103
104
+ sendCallRequestToActivity(ACTION_ANSWER_CALL, handle);
105
+ sendCallRequestToActivity(ACTION_AUDIO_SESSION, handle);
106
+ Log.d(TAG, "onAnswer executed");
107
+ }
108
109
@Override
110
public void onPlayDtmfTone(char dtmf) {
0 commit comments