[SIP Beyond VoIP] Recording only input sound data
dan at ag-projects.com
Thu Mar 21 13:30:52 CET 2019
On 20 Mar 2019, at 6:07, Alexey Nikitenko wrote:
> I created the recorder
> recorder = WaveRecorder(SIPApplication.voice_audio_mixer, '/path/to/file/')
> And when session started, I connected it to bridge:
> audio_stream = session.streams
> Everything works, but there are input and output speech in file.
> Is there the right way to record only input stream?
You recorded the bridge that connects the 2 streams to make the call possible, so you obviously got both streams recorded. You will need to make your own audio bridge and only add the stream you want to record and the recorder to it.
More information about the SIPBeyondVoIP