Open nsalerni opened 8 years ago
Hi @nsalerni.
Yes, WebRTC is recording audio and encoding it in realtime to share with other parties. However, this is done using low level Core Audio / Audio Units APIs. At this time it isn't possible to get the raw audio samples that you need, and once the samples are encoded they are discarded.
So, while I don't have a solution for you I can say that by modifying WebRTC directly you could achieve what you are looking for (writing the encoded audio, or raw samples to disk perhaps). Sorry I can't be more helpful here.
Hello,
I was wondering if there is a way to capture all audio as the RTC is active?
"/* * Playback and recording of voice audio, suitable for use with video. / PHAudioSessionModeMediaStreaming = 3"
The above code snippet suggests that there should be a way of recording that audio. If its already been recorded, how do I access it after the fact?