mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-02-26 12:44:38 +00:00
Update to RingRTC v2.56.0
This commit is contained in:
committed by
Michelle Tang
parent
759a746e46
commit
3bb2ab3a0c
@@ -203,7 +203,7 @@ public class OutgoingCallActionProcessor extends DeviceAwareActionProcessor {
|
||||
byte[] remoteIdentityKey = WebRtcUtil.getPublicKeyBytes(receivedAnswerMetadata.getRemoteIdentityKey());
|
||||
byte[] localIdentityKey = WebRtcUtil.getPublicKeyBytes(SignalStore.account().getAciIdentityKey().getPublicKey().serialize());
|
||||
|
||||
webRtcInteractor.getCallManager().receivedAnswer(callMetadata.getCallId(), callMetadata.getRemoteDevice(), answerMetadata.getOpaque(), remoteIdentityKey, localIdentityKey);
|
||||
webRtcInteractor.getCallManager().receivedAnswer(callMetadata.getCallId(), callMetadata.getRemotePeer(), callMetadata.getRemoteDevice(), answerMetadata.getOpaque(), remoteIdentityKey, localIdentityKey);
|
||||
} catch (CallException | InvalidKeyException e) {
|
||||
return callFailure(currentState, "receivedAnswer() failed: ", e);
|
||||
}
|
||||
@@ -216,7 +216,7 @@ public class OutgoingCallActionProcessor extends DeviceAwareActionProcessor {
|
||||
Log.i(TAG, "handleReceivedBusy(): id: " + callMetadata.getCallId().format(callMetadata.getRemoteDevice()));
|
||||
|
||||
try {
|
||||
webRtcInteractor.getCallManager().receivedBusy(callMetadata.getCallId(), callMetadata.getRemoteDevice());
|
||||
webRtcInteractor.getCallManager().receivedBusy(callMetadata.getCallId(), callMetadata.getRemotePeer(), callMetadata.getRemoteDevice());
|
||||
} catch (CallException e) {
|
||||
return callFailure(currentState, "receivedBusy() failed: ", e);
|
||||
}
|
||||
|
||||
@@ -396,7 +396,7 @@ public abstract class WebRtcActionProcessor {
|
||||
Log.i(tag, "handleReceivedHangup(): id: " + callMetadata.getCallId().format(callMetadata.getRemoteDevice()));
|
||||
|
||||
try {
|
||||
webRtcInteractor.getCallManager().receivedHangup(callMetadata.getCallId(), callMetadata.getRemoteDevice(), hangupMetadata.getCallHangupType(), hangupMetadata.getDeviceId());
|
||||
webRtcInteractor.getCallManager().receivedHangup(callMetadata.getCallId(), callMetadata.getRemotePeer(), callMetadata.getRemoteDevice(), hangupMetadata.getCallHangupType(), hangupMetadata.getDeviceId());
|
||||
} catch (CallException e) {
|
||||
return callFailure(currentState, "receivedHangup() failed: ", e);
|
||||
}
|
||||
@@ -516,7 +516,7 @@ public abstract class WebRtcActionProcessor {
|
||||
Log.i(tag, "handleReceivedIceCandidates(): id: " + callMetadata.getCallId().format(callMetadata.getRemoteDevice()) + ", count: " + iceCandidates.size());
|
||||
|
||||
try {
|
||||
webRtcInteractor.getCallManager().receivedIceCandidates(callMetadata.getCallId(), callMetadata.getRemoteDevice(), iceCandidates);
|
||||
webRtcInteractor.getCallManager().receivedIceCandidates(callMetadata.getCallId(), callMetadata.getRemotePeer(), callMetadata.getRemoteDevice(), iceCandidates);
|
||||
} catch (CallException e) {
|
||||
return callFailure(currentState, "receivedIceCandidates() failed: ", e);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user