Commit Graph

22799 Commits

Author SHA1 Message Date
Matthew Chen
d7138b6c83 Respond to CR.
// FREEBIE
2017-02-03 11:33:22 -05:00
Matthew Chen
660ff056e2 Modify handling of INStartVideoCallIntent and INStartAudioCallIntent if there already is an ongoing WebRTC or RedPhone call.
// FREEBIE
2017-02-03 11:32:55 -05:00
Matthew Chen
a38a3318a6 Merge branch 'charlesmchen/simulataneousCalls2' 2017-02-03 11:31:51 -05:00
Matthew Chen
581ba937f4 Respond to CR.
// FREEBIE
2017-02-03 11:31:31 -05:00
Matthew Chen
52ba5c1325 Don’t assert when two devices call each other simultaneously.
// FREEBIE
2017-02-03 11:30:47 -05:00
Matthew Chen
2d6851743d Merge branch 'charlesmchen/callThreadSafety3' 2017-02-03 11:29:58 -05:00
Matthew Chen
6e390d40b7 Respond to CR.
// FREEBIE
2017-02-03 11:29:47 -05:00
Matthew Chen
732144c9ed Respond to CR.
// FREEBIE
2017-02-03 11:29:47 -05:00
Matthew Chen
98caeb6a03 Be even more cautious when tearing down a PeerConnectionClient.
// FREEBIE
2017-02-03 11:29:47 -05:00
Michael Kirk
a328759f0d Don't crash when incoming call on NonCallKit iOS10
Previous logic assumed "VoiceChat" mode, but when the ringer goes off,
we set "SoloAmbient" which is incompatible with that mode, causing
assertion failure.

// FREEBIE
2017-02-03 10:24:16 -05:00
Michael Kirk
43e7defa28 Stop any lingering audio session if provider resets.
I've never actually seen this happen, but I think it makes sense.

// FREEBIE
2017-02-03 10:23:19 -05:00
Matthew Chen
2216dc8d37 Revert "revert WebRTC related changes to AppAudioManager"
This reverts commit 6b4dedfefe.
2017-02-03 09:48:01 -05:00
Matthew Chen
8b45ac2233 Merge branch 'feature/nonContactConversations' 2017-02-02 22:46:34 -05:00
Matthew Chen
4f9ce0c0e2 Respond to CR.
// FREEBIE
2017-02-02 22:46:10 -05:00
Matthew Chen
f9c20a36a4 Clean up ahead of PR.
// FREEBIE
2017-02-02 22:32:16 -05:00
Matthew Chen
26b3be4ec5 Improve "new conversation" view.
* Add "search by phone number" to "no contacts" mode.
* Coordinate "invite flow", "invite by SMS" and "new conversation with non-contact" to ensure only one (at most) is shown.
* Show "new conversation with non-contact" IFF phone number is known to correspond to a signal account.

// FREEBIE
2017-02-02 22:32:16 -05:00
Matthew Chen
3ae85ce2d8 Add button to start a new conversation with non-contact based on phone number in search field.
// FREEBIE
2017-02-02 22:32:16 -05:00
Michael Kirk
0a95dac616 pull latest translations
Most of these haven't actually been translated yet.

// FREEBIE
2017-02-02 20:32:17 -05:00
Michael Kirk
158fe78ae2 bump build
// FREEBIE
2017-02-02 20:26:05 -05:00
Michael Kirk
a6b5555910 fixup, return nil, not 0
// FREEBIE
2017-02-02 19:12:07 -05:00
Michael Kirk
2a9aa4c852 users can opt out of CallKit
// FREEBIE
2017-02-02 19:09:37 -05:00
Michael Kirk
d8df4b9e35 Can receive calls while in settings
The existing presented settings (or fingerprint verification) modals
were preventing the display of the incoming call modal.

// FREEBIE
2017-02-02 18:35:38 -05:00
Matthew Chen
f864207d48 Merge branch 'feature/simultaneousCalls' 2017-02-02 18:22:52 -05:00
Matthew Chen
5687925513 Prevent simultaneous incoming and outgoing calls from leaving CallService in a bad state.
// FREEBIE
2017-02-02 18:22:32 -05:00
Matthew Chen
19aa4b5b8c Merge branch 'charlesmchen/webrtc/busySignal' 2017-02-02 18:19:56 -05:00
Matthew Chen
0893930485 Handle “busy signal” appropriately.
// FREEBIE
2017-02-02 18:19:38 -05:00
Michael Kirk
90c5d4d237 Merge pull request #1686 from WhisperSystems/release/2.7.0
WebRTC and CallKit changes
2017-02-02 18:18:09 -05:00
Michael Kirk
08425853cf re-use shared call strings
// FREEBIE
2017-02-02 17:42:23 -05:00
Michael Kirk
a339f52564 Only touch mutable dict only main thread
* and make nonatomic since we're only assigning it in init

// FREEBIE
2017-02-02 17:29:49 -05:00
Michael Kirk
5d0d1b725b Already on the main thread
* simplify code
* fix typo

// FREEBIE
2017-02-02 17:22:36 -05:00
Michael Kirk
947d345837 SSK update to include latest master (which now includes CallKit)
// FREEBIE
2017-02-02 17:13:53 -05:00
Michael Kirk
6b4dedfefe revert WebRTC related changes to AppAudioManager
Initially we were using AppAudioManager in our WebRTC calling
implementation to manage call related audio, but our differences from
how redphone uses the AppAudioManager diverged too much, so instead
we're instead using CallAudioManager.

reverting these changes lest we inadvertently break something re:
RedPhone.

// FREEBIE
2017-02-02 17:00:27 -05:00
Michael Kirk
b6f098bfa7 Log when receiving unknown call datachannel message
// FREEBIE
2017-02-02 15:51:07 -05:00
Michael Kirk
4e8ab21c41 Merge pull request #105 from WhisperSystems/mkirk/webrtc
Support for WebRTC calling
2017-02-02 15:18:37 -05:00
Michael Kirk
92a69e8e65 Repsond to CR w/ @cmchen.
* Added docs
* added asserts to TSEnv accessors

// FREEBIE
2017-02-02 15:15:38 -05:00
Matthew Chen
b868f07c33 Merge remote-tracking branch 'origin/feature/webrtc' into release/2.7.0 2017-02-02 10:15:53 -05:00
Matthew Chen
a4c1303665 Merge branch 'charlesmchen/webrtc/threadSafety2' into feature/webrtc 2017-02-01 22:04:37 -05:00
Matthew Chen
36356fbff6 Avoid crashes when closing peer connection client.
// FREEBIE
2017-02-01 21:55:10 -05:00
Matthew Chen
dacb2840f2 Avoid crashes when closing peer connection client.
// FREEBIE
2017-02-01 21:52:01 -05:00
Matthew Chen
f81feca2d6 Avoid crashes when closing peer connection client.
// FREEBIE
2017-02-01 21:52:01 -05:00
Michael Kirk
7361418274 Merge remote-tracking branch 'origin/master' into feature/webrtc 2017-02-01 20:10:13 -05:00
Michael Kirk
80fb58231e Merge remote-tracking branch 'origin/master' into mkirk/webrtc
// FREEBIE
2017-02-01 20:01:22 -05:00
Michael Kirk
e272684ea0 Merge branch 'mkirk/webrtc/call-activity-2' into feature/webrtc 2017-02-01 19:51:55 -05:00
Michael Kirk
cd36123bf1 rename method to better reflect how its used
// FREEBIE
2017-02-01 19:50:21 -05:00
Michael Kirk
7e825648ef Show alert when trying to call a non-signal contact from Contacts.
// FREEBIE
2017-02-01 19:22:25 -05:00
Michael Kirk
c68073fdb1 proper error code for NOTFOUND
// FREEBIE
2017-02-01 19:18:28 -05:00
Michael Kirk
7b1b706e2a Include reusable localized text in recipient-not-found error
This way we can use it for calls as well.

// FREEBIE
2017-02-01 19:16:07 -05:00
Michael Kirk
b35c20a06b Don't handle intents pre iOS10.
// FREEBIE
2017-02-01 18:56:38 -05:00
Michael Kirk
17b89f44aa share global callUIAdapter, outboundCallInitiator
// FREEBIE
2017-02-01 18:56:38 -05:00
Michael Kirk
bbfd9ba74d Place Signal/Redphone calls from system contacts
// FREEBIE
2017-02-01 18:56:37 -05:00