Commit Graph

95 Commits (5b50e81b4fe5ce098dbee6669148e5d1d1162282)

Author SHA1 Message Date
Matthew Chen 5b50e81b4f Rename fail macros in Swift. 7 years ago
Matthew Chen 7be8f30877 Apply -> Never. 7 years ago
Matthew Chen d4f7b5d45b Respond to CR. 7 years ago
Matthew Chen f34bdd34bc Respond to CR. 7 years ago
Matthew Chen cf6f3841a8 Apply new Swift logging. 7 years ago
Michael Kirk 82e559d11b Use swift macros for main thread assert 7 years ago
Matthew Chen 26001e49d1 Unify log tags. 7 years ago
Matthew Chen 8da96e979c Refine theme. 7 years ago
Matthew Chen f795b12a86 Refine theme. 7 years ago
Michael Kirk 28abf426f1 White status bar for call screen
Transition to VC controlled status bar style.
7 years ago
Matthew Chen 1412998b4a Rework isRTL. 7 years ago
Michael Kirk 61156656aa Only PCC needs to know about the local RTCTrack 7 years ago
Michael Kirk 0cd1cb80cc Compiling, but video sending not working. 7 years ago
Michael Kirk 064035f3f4 WIP M67 - plumb through AVCaptureSession
TODO:

-[x] plumb through AVCaptureSession
-[] get AVCaptureSession from PeerConnectionClient
-[] RTCDataChannel not unwrapped
-[] no member avFoundationSource
-[] no member "back camera"
7 years ago
Michael Kirk e2eb772ff6 Fix layout for iOS9,10
// FREEBIE
7 years ago
Matthew Chen 6bc145ce3a Fix more build warnings. 7 years ago
Matthew Chen 28f7142a59 Auto-migration to Swift 4. 7 years ago
Matthew Chen 40ef287952 Avoid spurious animation in call view buttons. 7 years ago
Matthew Chen fbd03a3fdc Apply design for call view back button. 7 years ago
Michael Kirk b8707b6fa4 WIP: call view changes 7 years ago
Michael Kirk 0e87cbe7a5 WIP navbar resize
-[ ] CallScreen
  -[x] functional button
  -[ ] needs design
  -[ ] disable other contact call buttons while in call
-[ ] iOS11
  -[x] resize nav content
  -[ ] background showing at top of all vc's
  -[] iPhoneX
    -[x] use differently sized banner for now
    -[] mimic X system design
-[ ] iOS10
  -[x] resize nav content
  -[ ] animation glitch while push/pop
-[ ] iOS9

// FREEBIE
7 years ago
Michael Kirk 94323baba8 tmp - mute hides callscreen 7 years ago
Michael Kirk 0ab8fc2772 Proper flip asset
// FREEBIE
7 years ago
Michael Kirk e5b535ccf1 Implement camera direction toggle
// FREEBIE
7 years ago
Michael Kirk 6a4aff0b9c Add flip camera button (non-functioning)
// FREEBIE
7 years ago
Matthew Chen d7ae6fbbf4 Respond to CR. 7 years ago
Matthew Chen 1d94c2da75 Improve comments. 7 years ago
Matthew Chen 9e1021f1a4 Clean up ahead of PR. 7 years ago
Matthew Chen 17fce2fdd2 Present calls using window manager. 7 years ago
Matthew Chen 7345ab2e4e Add window manager. Move call view to a separate window. 7 years ago
Michael Kirk 0f46834e8d Show "Reconnecting..." on call screen
// FREEBIE
7 years ago
Matthew Chen cc42e85bd6 Avoid race condition in call view controller. 7 years ago
Matthew Chen 621d54db17 Revert "Remove usage of ! in call view."
This reverts commit ce197b0ada.
7 years ago
Matthew Chen 943b3f031c Revert "Remove usage of ! in call view."
This reverts commit 699bf0a829.
7 years ago
Matthew Chen 594ddfaec3 Revert "Remove usage of ! in call view."
This reverts commit 3cbd49627a.
7 years ago
Matthew Chen 3cbd49627a Remove usage of ! in call view. 7 years ago
Matthew Chen 699bf0a829 Remove usage of ! in call view. 7 years ago
Matthew Chen ce197b0ada Remove usage of ! in call view. 7 years ago
Matthew Chen 26f8050da0 Merge tag '2.23.4.2' 7 years ago
Matthew Chen ae61b44a99 Resolve conflict between keyboard and call view. 7 years ago
Matthew Chen 6caa5b87b6 Add more asserts around thread in SAE. 7 years ago
Michael Kirk 6f1608f44b Conventional naming for out custom PureLayout methods.
This moves methods more in line with PureLayout conventions.

- Methods always specify if they pin to an edge vs margin

- `margin` is a reserved word which should only refer to layout margins.
  i.e. do not use it to refer to "inset" and "offset".

// FREEBIE
7 years ago
Matthew Chen 4746948dfe Respond to CR. 7 years ago
Michael Kirk bbdcd0c768 Call connection fixups
callUIAdapter is not a singleton (for better or for worse)

No one should hold a reference directly to it, but rather via the
CallService, which is a singleton

Wait a bit longer for initial call screen before terminating. Especially
first call can hit this limit.

When call *does* take too long to show, terminate properly to ensure
we're not left with a phantom call

// FREEBIE
7 years ago
Michael Kirk 5959cdf070 Simplify call privacy settings
We've long allowed users to configure what shows up in message
notifications:

- name: content (by default)
- just name (no content)
- generic notification (no name nor content)

Now we're dual purposing that setting to apply to calls. If someone
doesn't want to show names in the message notifications, presumably also
don't want that name showing up in the call log.

Also, since the earlier CallKit/iCloud issues had been addressed before
iOS11, we upgrade all iOS11 users to the more intuitive CallKit
interface.

Also: introduce "use system call logs" toggle when available. It will be
enabled by default, but we disable it for legacy users who'd explicitly
opted *out* of CallKit.

// FREEBIE
7 years ago
Michael Kirk c646f76335 Garther audio concerns, clean up session when done
- sync speakerphone state manipulated from system call screen
  - Revert audio session after call failure, ensures media plays out of
    speaker after placing a failing call.
  - Replace notification with delegate pattern since we're already using
    delegate pattern here.
- Fixes voiceover accessibility after voice memo
- Avoid audio blip after pressing hangup
- Rename CallAudioSession -> OWSAudioSession
  Going to start using it for other non-call things since we want to
  gather all our audio session concerns.
- Resume background audio when done playing video
  - Extract OWSVideoPlayer which ensures audio is in proper state before
    playback
  - Move recording session logic to shared OWSAudioSession
  - Deactivate audio session when complete

// FREEBIE
7 years ago
Matthew Chen e77c3e6717 Retain changes from session database branch. 7 years ago
sdkjfhsdkjhfsdlkjhfsdf 38d94952f7 Shadow for Send button, clean up color accessors
// FREEBIE
7 years ago
Matthew Chen b4e8df79da Migrate environment to SignalMessaging. 8 years ago
Matthew Chen 8cc33b3de1 Refine loading view of share extension. 8 years ago