udpsrc has no data for windows

Sebastian Dröge sebastian at centricular.com
Thu Jun 30 06:47:06 UTC 2016


On Mi, 2016-06-29 at 17:07 +0000, William Salibrici wrote:
> Hi Sebastian,
> I did as you suggested. I set the samplesperbuffer=512 on the
> audiotestsrc. I also set the buffer-size property on udpsrc/udpsink
> to 1MB. 
> 
> Send pipeline now is:
> gst-launch-1.0 -e audiotestsrc wave=2 samplesperbuffer=512 ! audio/x-
> raw,format=S16LE,rate=8000,channels=1 ! udpsink buffer-size=1000000
> clients="192.168.1.101:5018"
> 
> Receive pipeline now is:
> gst-launch-1.0 -e udpsrc address="192.168.1.101" buffer-size=1000000
> port=5018 caps="audio/x-raw,format=S16LE,rate=8000,channels=1" !
> fakesink dump=TRUE
> 
> Still no data displayed for the receiver pipeline on my windows 7
> machine!
> 
> I attached the new wireshark capture file obtained from the receiver
> machine which now shows no fragmentation. I think the IP layer does
> support fragmentation and reassembly but there are a number of
> possible drawbacks there as well.

Ok, this should clearly work like that then. Can you get a GStreamer
debug log with GST_DEBUG=2,*udp*:6 from the receiver side? Also which
GStreamer version is this again?

Basically we'll have to find out what works different between udpsrc
and your C++ code that handles the sockets.

-- 
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160630/3a6893ab/attachment.sig>


More information about the gstreamer-devel mailing list