Commit graph

1022 commits

Author SHA1 Message Date
Michael Kirk bbfd9ba74d Place Signal/Redphone calls from system contacts
// FREEBIE
2017-02-01 18:56:37 -05:00
Matthew Chen 724a1c9b20 Merge branch 'charlesmchen/webrtc/threadSafety_' into feature/webrtc 2017-02-01 15:10:58 -05:00
Matthew Chen d4ba4c446b Respond to CR.
// FREEBIE
2017-02-01 14:43:47 -05:00
Matthew Chen b415b6142f Respond to CR, mainly by fixing broken tests.
// FREEBIE
2017-02-01 12:26:10 -05:00
Matthew Chen 49bb3d942d Clean up ahead of PR.
// FREEBIE
2017-02-01 10:44:29 -05:00
Matthew Chen d294557bdd Rework concurrency in the signaling logic.
// FREEBIE
2017-02-01 10:24:23 -05:00
Matthew Chen dd374afdaa Rework concurrency in the signaling logic.
// FREEBIE
2017-02-01 09:43:16 -05:00
Matthew Chen d6c849eab3 Revert whitespace changes.
// FREEBIE
2017-02-01 09:43:16 -05:00
Matthew Chen af289145b5 Rework concurrency in the signaling logic.
// FREEBIE
2017-02-01 09:43:16 -05:00
Matthew Chen 5929061291 Merge branch 'charlesmchen/webrtc/audioMode' into feature/webrtc 2017-02-01 09:19:28 -05:00
Matthew Chen d0b2aaac27 Specify AVAudioSession modes for calls.
// FREEBIE
2017-02-01 09:19:18 -05:00
Michael Kirk f1d8434868 More space for non-callkit incoming call buttons (#1660)
* More space for non-callkit incoming call buttons

The "decline" and "accept" were too close together. Added a spacer, the
same size as an extra button between the two.

* Tweak spacing in call view rows.

// FREEBIE
2017-02-01 09:13:57 -05:00
Matthew Chen 9e3f32a39b Merge branch 'charlesmchen/webrtc/logReconnect' into feature/webrtc 2017-01-31 17:10:42 -05:00
Matthew Chen 8454c7dc2f Log reconnect events as such.
// FREEBIE
2017-01-31 17:10:29 -05:00
Matthew Chen 60c67793a7 Merge branch 'charlesmchen/webrtc/connectedSpeakerphone' into feature/webrtc 2017-01-31 17:09:59 -05:00
Matthew Chen 5dd4655672 Ensure audio state when call connects.
// FREEBIE
2017-01-31 17:09:45 -05:00
Matthew Chen 10eb4beb08 Merge branch 'feature/hardResetGitScript' into feature/webrtc 2017-01-31 13:58:21 -05:00
Matthew Chen a5cb9b11ee Hard reset git script. 2017-01-31 13:58:13 -05:00
Matthew Chen faf1946bab Merge branch 'charlesmchen/webrtc/webrtcVsCarthage' into feature/webrtc 2017-01-31 12:23:45 -05:00
Matthew Chen 5232899b14 Update Carthage to reflect WebRTC release build.
// FREEBIE
2017-01-31 11:28:56 -05:00
Matthew Chen 47c2b03802 Merge branch 'charlesmchen/webrtc/textShadows' into feature/webrtc 2017-01-30 18:28:38 -05:00
Matthew Chen b5aab60985 Respond to CR.
// FREEBIE
2017-01-30 18:27:52 -05:00
Matthew Chen e947276f73 Add drop shadows to text in call view.
// FREEBIE
2017-01-30 18:27:20 -05:00
Matthew Chen 8aca1b87dc Merge branch 'charlesmchen/webrtc/disableLocalVideoInBackground' into feature/webrtc 2017-01-30 18:25:15 -05:00
Matthew Chen 40b3d038db Disable local video in background.
// FREEBIE
2017-01-30 18:25:04 -05:00
Michael Kirk ae1a97196e Merge pull request #1658 from WhisperSystems/mkirk/webrtc/call-mux
Better concurrent call handling
2017-01-30 18:05:21 -05:00
Michael Kirk 141a1bd176 Disable half-working call-holding feature all together
consolidated feature-disable logic for incoming/outgoing calls to make
it easier to document, and less likely to break when we *do* implement
CallHolding

// FREEBIE
2017-01-30 16:13:59 -05:00
Michael Kirk 969b73cad8 Implement call holding (call swapping still broken).
- Alice calls Bob on Signal and they start talking
- Charlie calls Alice on Not-Signal.
- Alice chooses to "Hold & Accept" putting Bob on Hold while the call with
  Charlie connects.
- If Alice ends the call with Charlie, we're back in Signal-iOS and
  talking to Bob, no problem.
- However, if, before ending the call with Charlie, Alice tries to swap
  *back* to bob, bob won't hear any audio in the callkit screen. Alice
  has to switch back to the Signal screen before the audio is transmitted.

// FREEBIE
2017-01-30 16:13:58 -05:00
Michael Kirk e425d351c7 WIP: incoming non-signal call while in outgoing signal call
Marking Signal-Call as started, changes the incoming call screen for
subsequent calls to show "Accept & End", "Send to VoiceMail" and "Accept
& Hold" instead of just "Accept" & "Decline"

Though - we don't support Holding. What we really want to see is just
"Accept & End" and "Decline | Send to Voicemail"

// FREEBIE
2017-01-30 16:13:55 -05:00
Matthew Chen 08a0853bd2 Merge branch 'charlesmchen/webrtc/videoRefinements_' into feature/webrtc 2017-01-30 15:54:53 -05:00
Matthew Chen c8e5884087 Respond to CR.
// FREEBIE
2017-01-30 15:54:31 -05:00
Matthew Chen 9a0a7bb6b1 Show alert when user tries to activate local video without camera permissions.
// FREEBIE
2017-01-30 14:08:53 -05:00
Matthew Chen da53368bc2 Show alert when user tries to activate local video without camera permissions.
// FREEBIE
2017-01-30 14:08:53 -05:00
Matthew Chen 2ef80e569d Improve thread safety in call ui adapter and adatapees.
// FREEBIE
2017-01-30 14:08:53 -05:00
Matthew Chen 50addfa4e8 Remove camera constraints.
// FREEBIE
2017-01-30 14:08:32 -05:00
Matthew Chen 6ce33381a8 Prevent screen from dimming or device from locking during video call.
// FREEBIE
2017-01-30 14:08:08 -05:00
Matthew Chen 410d5fbf7f Merge branch 'charlesmchen/webrtc/reworkVideoControls' into feature/webrtc 2017-01-30 14:07:23 -05:00
Matthew Chen 40d7944120 Respond to CR.
// FREEBIE
2017-01-30 14:06:57 -05:00
Matthew Chen 9e34f87f0d Fix issues around how remote/local video states affect call view.
// FREEBIE
2017-01-30 14:06:03 -05:00
Matthew Chen 3446923060 Merge branch 'feature/hideVideoControls' into feature/webrtc 2017-01-30 14:05:27 -05:00
Matthew Chen 699b364ec7 Show/hide call view controls in remote video mode if user taps screen.
// FREEBIE
2017-01-30 14:04:57 -05:00
Michael Kirk 459d0d6012 Working around a bizarre crash on iOS 9
Without this, I get a SEGFAULT on iOS 9.3 device 1 in 3 calls when
accessing the RTC extern constants. Swift bug?

Currently using XCode 8.2

// FREEBIE
2017-01-30 13:35:39 -05:00
Michael Kirk fff061ff3f Make sure WebRTC preferences are synced *every* call
This slows the UI, but only for people who have locally opted into
WebRTC calls, and the alternative is that users are likely to have stale
settings the first time a pair of people opt-in.

// FREEBIE
2017-01-27 14:33:12 -05:00
Matthew Chen a29e3674c4 Merge branch 'charlesmchen/webrtc/video5' into feature/webrtc 2017-01-27 13:25:06 -05:00
Matthew Chen fe140b0da5 Updated the button icons in the call view’s “remote video” mode.
// FREEBIE
2017-01-27 13:21:58 -05:00
Matthew Chen 2a4170a32d Merge branch 'charlesmchen/webrtc/video4' into feature/webrtc 2017-01-27 13:19:24 -05:00
Matthew Chen bc00b87783 Reply to CR.
// FREEBIE
2017-01-27 13:18:51 -05:00
Matthew Chen 9c3ecbc77d Clean up ahead of PR.
// FREEBIE
2017-01-27 11:17:35 -05:00
Matthew Chen d560aa022a Reworked call view’s remote video mode. 2017-01-27 11:11:33 -05:00
Matthew Chen e2d6c574df Fix guard syntax.
// FREEBIE
2017-01-26 17:42:32 -05:00