Hello Andreas,
yes, both (gstreamer and communication with linphone) works.
Did you already check the communication between both ends
with a tool like wireshark?
When I implemented a SIP client with sofia and gstreamer,
I noticed that it is important to open the port of the RTP
stream, you receive, by hand.
For Example:
struct sockaddr_in addr;
memset(&addr, 0, sizeof(addr));
addr.sin_family = AF_INET;
addr.sin_port = htons(bindPort);
addr.sin_addr.s_addr = INADDR_ANY;
int ret = bind(myAddr->udpSocketfd, (struct sockaddr *) &addr,
sizeof(addr));
You get the port from the SIP response of the other party.
Later, you specify this socket as "sockfd" to the UDP source
element of your receiving gstreamer pipeline.
Example:
(using QtGstreamer available at
http://gstreamer.freedesktop.org/data/doc/gstreamer/head/qt-gstreamer/html/index.html)
rtpudpsrc->setProperty("port", sipProcessor->bindRTPPort.toInt());
rtpudpsrc->setProperty("sockfd", stunAddress.udpSocketfd);
Plain C code looks similar. Just normal setting of properties.
Hope this helps.
Regards,
Björn
Am Sun, 29 May 2011 10:26:45 +0100 (BST)
schrieb Andreas Büttner <[email protected]>:
> Hello,
>
> is the SofSIP-Client with gstreamer really working? I can not
> establish a connection between two SofSIP-Clients. Well, the
> Connection is set up, but I can't hear anything.
>
> Is the SofSIP-Client able to communicate with other SIP-Clients, such
> as linphone?
>
>
>
> Regards, Andreas
------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery,
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now.
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Sofia-sip-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sofia-sip-devel