This commit is contained in:
Arne 2024-06-09 23:54:05 +02:00
parent db9d5bd8b9
commit eff3b2a241
2 changed files with 6 additions and 6 deletions

View file

@ -228,7 +228,7 @@ public class CallIntegrationConnectionService extends ConnectionService {
}
}
private static void registerPhoneAccount(final Context context, final Account account) {
static void registerPhoneAccount(final Context context, final Account account) {
try {
registerPhoneAccountOrThrow(context, account);
} catch (final IllegalArgumentException e) {

View file

@ -708,12 +708,12 @@ public class WebRTCWrapper {
}
public boolean applyDtmfTone(String tone) {
if (toneManager == null || peerConnection == null || localAudioTrack == null) {
//if (toneManager == null || peerConnection == null || localAudioTrack == null) {
return false;
}
localAudioTrack.rtpSender.dtmf().insertDtmf(tone, TONE_DURATION, 100);
toneManager.startTone(TONE_CODES.get(tone), TONE_DURATION);
return true;
//}
//localAudioTrack.rtpSender.dtmf().insertDtmf(tone, TONE_DURATION, 100);
//toneManager.startTone(TONE_CODES.get(tone), TONE_DURATION);
//return true;
}
@Nonnull