tcpserversink and tcpclientsrc: fail to stream tcp/rtp in Windows
Submitted by Prezla Petrus
Link to original bug (#791766)
Description
Created attachment 365732
server and client pipes screen capture
tcpserversink and tcpclientsrc don't appear to stream rtp data in Windows 10 (and Windows 7) environment. The problem reproduces for me with gstreamer 1.12.2 and 1.12.4.
Steps to reproduce
-
Turn off firewall in Windows
-
Install gstreamer using gstreamer-1.0-x86_64-1.12.4.msi and selecting full installation
-
Install gstreamer-devel using gstreamer-1.0-devel-x86_64-1.12.4.msi and selecting full installation
-
Start command line and run this server pipeline gst-launch-1.0 --gst-debug="tcp*:7,3" videotestsrc ! x264enc tune=zerolatency ! rtph264pay ! rtpstreampay ! tcpserversink host=127.0.0.1 port=5000
-
Start 2nd command line and run this client pipeline gst-launch-1.0 --gst-debug="tcp*:7,3" tcpclientsrc host=127.0.0.1 port=5000 ! fakesink silent=false
-
Noticed the problem where no rtp data flows between server and client
Notes:
a) Same pipelines work in Raspberry Pi (linux) with gstreamer 1.10.4
b) If I use udpsink and udpsrc the pipelines work in Windows, e.g. these pipelines work:
gst-launch-1.0 -v videotestsrc is-live=true ! videoconvert ! videoscale ! video/x-raw,format=I420,width=800,height=600,framerate=25/1 ! x264enc ! rtph264pay ! udpsink host=127.0.0.1 port=5000
gst-launch-1.0 udpsrc port=5000 ! application/x-rtp,encoding-name=H264,payload=96 ! rtph264depay ! avdec_h264 ! autovideosink
Thanks
Attachment 365732, "server and client pipes screen capture":
pipes.zip
Version: 1.12.4