Commit graph

1254 commits

Author SHA1 Message Date
Michael Kirk b8711f9abc contact can be nil for outgoing redphone call
Now that it's easier to start a thread with a non-contact recipient this
is more relevant.

// FREEBIE
2017-02-06 15:46:53 -05:00
Matthew Chen 82a7ec1286 Merge branch 'charlesmchen/labelSignalCallsAsSuch' 2017-02-06 15:44:06 -05:00
Matthew Chen 80963d88f0 Respond to CR. Remove colon from call view status prefix.
// FREEBIE
2017-02-06 15:43:14 -05:00
Matthew Chen 9a08449d83 Add “signal” copy to call view.
// FREEBIE
2017-02-06 12:36:55 -05:00
Matthew Chen 167e94e573 Merge branch 'charlesmchen/threadSafety5' 2017-02-06 12:05:43 -05:00
Matthew Chen 217866c588 Respond to CR.
// FREEBIE
2017-02-06 12:05:25 -05:00
Matthew Chen 228b0e7dc6 Synchronize access to remoteVideoTrack.
// FREEBIE
2017-02-06 11:18:30 -05:00
Matthew Chen 828771b13c Merge branch 'charlesmchen/callThreadSafety4_' 2017-02-06 09:39:32 -05:00
Matthew Chen ca76ec6f36 Respond to CR.
// FREEBIE
2017-02-06 09:39:14 -05:00
Matthew Chen 6f3a45ff8c Avoid crashes when deallocating remote video tracks.
// FREEBIE
2017-02-06 09:33:47 -05:00
Matthew Chen 4ae786d0a2 Ignore CallService events related to obsolete calls.
// FREEBIE
2017-02-06 09:33:47 -05:00
Matthew Chen d9bcd563b1 Avoid possible deadlock in PeerConnectionClient.
// FREEBIE
2017-02-06 09:33:47 -05:00
Michael Kirk b7fd7d7683 bump build
// FREEBIE
2017-02-03 16:52:00 -05:00
Matthew Chen 47fdc1f87c Merge branch 'charlesmchen/fixBusyLogic' 2017-02-03 16:47:45 -05:00
Matthew Chen 8f6483e9b4 Fix bug in the busy logic.
// FREEBIE
2017-02-03 16:47:34 -05:00
Michael Kirk ef3df49fd2 bump build
// FREEBIE
2017-02-03 16:05:05 -05:00
Matthew Chen dafa52533c Merge branch 'charlesmchen/callAudioObservation' 2017-02-03 15:47:42 -05:00
Matthew Chen 17fe3f66c0 Ensure audio service observation of call is always correctly wired up.
// FREEBIE
2017-02-03 15:47:33 -05:00
Michael Kirk 007d9aca7e Latest translations
// FREEBIE
2017-02-03 14:41:51 -05:00
Michael Kirk ed5e4d3c88 bump build
// FREEBIE
2017-02-03 14:41:51 -05:00
Matthew Chen e55a5b6675 Merge branch 'charlesmchen/unhideCallViewOnActivation' 2017-02-03 14:36:30 -05:00
Matthew Chen b883b5c547 Show hidden call view controls when app reactivates.
// FREEBIE
2017-02-03 14:36:21 -05:00
Michael Kirk ef5c2c5416 Only show CallKit footer when showing the CallKit cell
// FREEBIE
2017-02-03 14:10:38 -05:00
Michael Kirk 90388ebd63 Coordinate "busy" state across redphone and webrtc
Previously a redphone call didn't know when the user was busy due to
webrtc and vice versa

// FREEBIE
2017-02-03 14:10:06 -05:00
Michael Kirk c4a677a0bc Fix: Second call fails
The callController exists after a first call fails due to busy. It is
not sufficient to check for it's existence.

// FREEBIE
2017-02-03 14:10:06 -05:00
Matthew Chen 091052185b Merge branch 'charlesmchen/systemGesturesVsVideoControls' 2017-02-03 13:48:58 -05:00
Matthew Chen e34d529620 Prevent system edge swipe gestures from showing/hiding call controls.
// FREEBIE
2017-02-03 12:29:32 -05:00
Matthew Chen 61e35f1217 Merge branch 'charlesmchen/callKitVsWebRTC' 2017-02-03 12:06:37 -05:00
Matthew Chen 53cb36e537 Callkit option should only be visible when "Video Call (Beta)" is enabled.
// FREEBIE
2017-02-03 12:06:25 -05:00
Matthew Chen 05f123c5eb Fix ongoing call check in OutboundCallInitiator.
// FREEBIE
2017-02-03 12:04:21 -05:00
Matthew Chen cff3daa82a Merge branch 'feature/handleINStartVideoCallIntent' 2017-02-03 11:44:40 -05:00
Matthew Chen d7e434eb03 Modify OutboundCallInitiator to abort if there is an ongoing RedPhone or WebRTC call.
// FREEBIE
2017-02-03 11:37:57 -05:00
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