Commit Graph

928 Commits (dbb29d7d7ef7635e22e8e737f9a0a94d86a052cb)
 

Author SHA1 Message Date
Michael Kirk dbb29d7d7e Don't require recording permissions until call is ringing.
We do this by manually managing the RTCAudioSession.
Unfortunately to do this we have to include a couple of RTC headers not
exported by the default build of WebRTC.framework (see: Libraries/WebRTC)

// FREEBIE
8 years ago
Michael Kirk ca218ebb64 update call signatures for test fakes
// FREEBIE
8 years ago
Michael Kirk 0797df19b9 Only update label on timer
The rest of the UI only changes on Call.state change.

// FREEBIE
8 years ago
Michael Kirk 7b33cbb933 Merge pull request #1600 from WhisperSystems/mkirk/webrtc/unit-test-peerconnectionclient
test peerconnectionclient
8 years ago
Michael Kirk 0072ee3033 Ensure a stale peerConnectionClient doesn't call any methods on the CallService
Nil delegates when terminating call

// FREEBIE
8 years ago
Michael Kirk 32789bd960 Move RTCDataChannelDelegate to PeerConnectionClient
- minimizes CallService exposure to WebRTC

// FREEBIE
8 years ago
Michael Kirk 8998853aff Move RTCPeerConnectionDelegate to PeerConnectionClient
This makes sense as PeerConnectionClient is our interface to WebRTC

- Makes it easier to test PeerConnectionClient and CallService
- Allows us to shrink CallService class a bit (it's huge)

// FREEBIE
8 years ago
Michael Kirk bd65dc6ba7 Fallback TURN servers if we can't get them from the server for some reason
// FREEBIE
8 years ago
Matthew Chen 1898b9fa19 Merge branch 'charlesmchen/fixWebsocket' into feature/webrtc 8 years ago
Matthew Chen ec16016386 Update to reflect merged SSK branch. 8 years ago
Matthew Chen ada6da9506 Fix merge.
The changes to SignalCall must have been lost as I tried to apply swift lint to them.

// FREEBIE
8 years ago
Matthew Chen a023d02ae2 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 9c4eda54f1 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen cb3f564446 Fix web socket issue.
// FREEBIE
8 years ago
Matthew Chen ca27d10cd4 Merge branch 'charlesmchen/webrtc/callView4' into feature/webrtc 8 years ago
Matthew Chen 1e80946a93 Add call duration to call view.
// FREEBIE
8 years ago
Matthew Chen 433ac2cf11 Merge branch 'charlesmchen/webrtcSetting' into feature/webrtc 8 years ago
Matthew Chen 773080b11b Update SSK pod to reflect merge of corresponding charlesmchen/webrtcSetting2 branch into mkirk/webrtc.
This branch updates SignalRecipient in ContactsUpdater.

// FREEBIE
8 years ago
Matthew Chen 654bdb1a85 Add WebRTC setting.
// FREEBIE
8 years ago
Matthew Chen 0c8893e91a Merge branch 'charlesmchen/webrtc/callView3' into feature/webrtc 8 years ago
Matthew Chen 071fc4ddc8 Improve buttons in call view.
// FREEBIE
8 years ago
Matthew Chen 8be987de1c Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 1c4ebf6f6c Merge branch 'charlesmchen/webrtc/callView2' into feature/webrtc 8 years ago
Matthew Chen 19633a9f61 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 9df5cebfc3 Update the call view icons and refine the layout.
// FREEBIE
8 years ago
Matthew Chen 92eb2f6148 Update the call view icons and refine the layout.
// FREEBIE
8 years ago
Michael Kirk 7e715052d0 latest translations
// FREEBIE
8 years ago
Matthew Chen 8f8c92d653 Merge branch 'charlesmchen/webrtc/callView' into feature/webrtc 8 years ago
Matthew Chen ee5682165d Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 09c2e27e41 Respond to CR.
// FREEBIE
8 years ago
Matthew Chen c6de676018 Respond to CR.
// FREEBIE
8 years ago
Michael Kirk c4581dab21 Bump build
// FREEBIE
8 years ago
Matthew Chen 4a65a88512 Rework new call view.
// FREEBIE
8 years ago
Michael Kirk 2119f33f81 Merge pull request #1587 from WhisperSystems/mkirk/webrtc/call-kit-mute
Sync CallKit mute button state with in app mute button.
8 years ago
Michael Kirk 469bff5734 Make call delegate weak
// FREEBIE
8 years ago
Michael Kirk 1ed39976ee make public protocol method implementations public
responding to CR

// FREEBIE
8 years ago
Michael Kirk f6e6e6b787 CallViewController only accesses CallService via the CallUIAdapter
This is an effort to better define boundaries and simplify
relationships.

This also fixes a theoretical problem where CallKit was showing the in-app
call screen before the call was successfully answered, now we wait until
the action is fulfilled.

// FREEBIE
8 years ago
Michael Kirk fc6da05259 remove some dead code
Related to an earlier failed attempt of reconciling CallKit audio
management with WebRTC's.

// FREEBIE
8 years ago
Michael Kirk 947a637669 Sync "mute" controls between CallKit
In the process, extracted the CallDelegate to allow the
CAllViewController to observe useful call state properties (call.state
and call.isMuted)

// FREEBIE
8 years ago
Matthew Chen 33db2715f3 Merge branch 'charlesmchen/webrtc/fontLookup' into feature/webrtc 8 years ago
Matthew Chen 98e087a47f Fix font lookup on iOS before 8.2.
// FREEBIE
8 years ago
Matthew Chen 26a6e391b3 Fix pod.
// FREEBIE
8 years ago
Matthew Chen 33eed88ecd Merge branch 'charlesmchen/webrtc/flushLogs' into feature/webrtc 8 years ago
Matthew Chen 9265870b9f Merge branch 'charlesmchen/webrtc/buildingWebRTC' into feature/webrtc 8 years ago
Matthew Chen 740aa643be Add method to flush logs.
// FREEBIE
8 years ago
Matthew Chen 692429480b Respond to CR.
// FREEBIE
8 years ago
Matthew Chen 8d7352b426 Merge branch 'mkirk/webrtc/fix-tests' into feature/webrtc 8 years ago
Matthew Chen 74ca54d78e Improve instructions on how to build WebRTC.
// FREEBIE
8 years ago
Michael Kirk c7449db289 remove stubbed audio manager implementation until it's clear what to do
with it.

// FREEBIE
8 years ago
Michael Kirk a17873291b Fix up tests
// FREEBIE
8 years ago