SIP user-agent with own audio data source and target
- From: "Bob Andreasen" <bandreasen (at) pingtel.com>
- Date: Mon, 6 Feb 2006 08:31:05 -0500
We have been working on cleaning up the Media APIs and pushing some of that
functionality into an interfaces to allow for better support of different media
processing subsystems.
For your purposes, I believe you can uncomment the "MprFromMic::s_fnMicDataHook
= hookProc ;" lines in each of those functions. You will need to add the
sipXmediaLib to your path and add #include "mp/MprFromMic.h" and #include
"mp/MprToSpkr.h" to the top of sipXtapi.cpp.
-
Bob
> -----Original Message-----
> From: sipx-dev-bounces (at) list.sipfoundry.org
> [mailto:sipx-dev-bounces (at) list.sipfoundry.org] On Behalf Of
> Jiøí Unèovský
> Sent: Thursday, February 02, 2006 10:47 AM
> To: sipx-dev (at) list.sipfoundry.org
> Subject: [sipX-dev] SIP user-agent with own audio data source
> and target
>
>
> Greetings,
>
> I would like to create a SIP user-agent using sipXtapi, but I
> need to replace the microphone/speakers with my own audio
> data source and target.
>
> When I was exploring the sipXtapi API, I found the
> sipxConfigSetMicAudioHook and sipxConfigSetSpkrAudioHook
> functions that should serve exactly this purpose. However, in
> sipXtapi.cpp, these functions are empty (they just log their
> call and return a successful return code). The assignment of
> the audio hook itself is commented out.
>
> I wondered what is the right procedure for hooking my own
> audio data source and target insted of microphone/speakers.
> Can I simply uncomment the lines?
>
> Thank you for your help.
> _______________________________________________
> sipx-dev mailing list
> sipx-dev (at) list.sipfoundry.org
> List Archive: http://list.sipfoundry.org/archive/sipx-dev
>
_______________________________________________
sipx-dev mailing list
sipx-dev (at) list.sipfoundry.org
List Archive: http://list.sipfoundry.org/archive/sipx-dev