use same port for sending and reseiveing

amar asontakke at phonologies.com
Wed Nov 27 02:54:55 PST 2013


Hi,

I am developing a media stack for a SIP communication. In that, I want to
receive/catch DTMF on the port from which I am sending the audio (PCMU)
media. I am trying to build this functionality using following pipelines :

In first pipeline: I am binding port to socket with SO_REUSEADDR from which
I want to stream audio and assign socket to udpsink.

In second pipeline: I am using udpsrc for catching the dtmf signal. For
receiving dtmf I am using same port which is bind in first pipeline to
stream audio from it.

In above operation as I change the state of second pipeline
GST_STATE_PLAYING. Ii throws error GST_STATE_CHANGE_FAILURE.

Please, Tell me What is going wrong in above implementation? or Is there
any other way to use same port for sending audio and receiving dtmf on same
port ?

Any help/pointer appreciable...

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20131127/2ef3d263/attachment-0001.html>


More information about the gstreamer-devel mailing list