[asterisk-dev] Stream the audio of the caller and the callee as two separate streams
Joshua Colp
jcolp at digium.com
Thu Feb 14 06:19:22 CST 2013
Magyar Viktor wrote:
> Hello,
>
> Could someone put me on the right track?
> I'm developing a module that would stream the audio of the caller and
> the callee as two separate streams to an MRCP recorder. What is the
> recommended way to do this? I have already examined MixMonitor source
> code. It seems that using an audiohook could do that, but in the case of
> MixMonitor the two streams are mixed together. Is there a way to read
> the audio stream of one direction only?
The underlying audiohooks functionality allows this. You can choose to
receive frames written to the channel and read from the channel as they
are or mixed.
--
Joshua Colp
Digium, Inc. | Senior Software Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
Check us out at: www.digium.com & www.asterisk.org
More information about the asterisk-dev
mailing list