Melanie,

I don't believe there is currently a simple way to hook into the media
stream, however, I think it could be done.

As a workaround, I would change NetInTask.cpp so that it contains a
reference to a callback function defined for the purpose of hooking into the
media stream.

Such a callback function could be invoked from NetInTask::get1Msg whenever
an RTP socket is read.

This wouldn't really be a general purpose solution, but I think you could
get it to work.

As for injecting into the RTP stream, there are several functions in
sipXtapi for sending out audio. (sipxCallPlayBufferStart).
Is this what you're looking to do, or do you want to control and insert your
own outbound RTP packets?  Just wondering what the use-case is.


Mike Cohen

Principal Software Engineer

Pingtel Corporation

 

Work: 781.938.5306 x115

Cell: 781.724.9453


> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:sipx-dev-
> [EMAIL PROTECTED] On Behalf Of Melanie M.
> Sent: Thursday, August 17, 2006 1:44 AM
> To: [EMAIL PROTECTED]
> Cc: [email protected]
> Subject: [sipX-dev] sipXezPhone - Hook into Stream
> 
> Hi all,
> 
> I am enquiring about the sipXezPhone; in particular about the extraction
> and
> injection into stream.
> 
> I am working on the sipXezPhone and I would like to hook into the stream.
> 
> Could someone please tell me what do I need to do to:
> 
> - hook into the stream
> - inject into the stream
> - capture the parts of the stream
> 
> I am looking forward to receiving some information from you.
> 
> Thank you for your help!
> 
> Regards
> Melanie
> 
> 
> _______________________________________________
> sipx-dev mailing list
> [EMAIL PROTECTED]
> List Archive: http://list.sipfoundry.org/archive/sipx-dev
> Unsubscribe: http://list.sipfoundry.org/mailman/listinfo/sipx-dev


_______________________________________________
sipxtapi-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/

Reply via email to