session-ios/Libraries/WebRTC
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
2017-01-17 21:49:13 -05:00
..
README.md Don't require recording permissions until call is ringing. 2017-01-17 21:49:13 -05:00
RTCAudioSession.h Don't require recording permissions until call is ringing. 2017-01-17 21:49:13 -05:00

The RTCAudioSession.h header isn't included in the standard build of WebRTC, so we've vendored it here. Otherwise we're using the vanilla framework.

We use the RTCAudioSession header to manually manage the RTC audio session, so as to not start recording until the call is connected.