As of early September you can now pass in an "audioDevice" to
RTCPeerConnectionFactory(encoderFactory:decoderFactory:audioDevice). This will essentially allow you to have complete control of your audio session (including integration with AVAudioEngine if you so desire). Your "audioDevice" will have to conform to the
RTCAudioDevice protocol.
In the test app, he shows you how to hook up an `AVAudioSink` to the default input node of `AVAudioEngine`.
Colin