[Bug 749567] tcpclientsrc: add timeout property

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Jun 1 04:29:22 PDT 2015


https://bugzilla.gnome.org/show_bug.cgi?id=749567

--- Comment #1 from Prashant Gotarne <ps.gotarne at samsung.com> ---
Review of attachment 303571:
 --> (https://bugzilla.gnome.org/review?bug=749567&attachment=303571)

I think its better to set the max value of timeout property to G_MAXUINT
instead of 3600. 
Let's give freedom to user to choose any value from 0 to G_MAXUINT.

Also adding use case to explain the need of timeout property.
Run a server on one machine.
#server-107.108.234.23:
nc -l -p 3000

Run following pipeline on another machine
#client-107.108.234.56:
gst-launch tcpclientsrc host="107.108.234.23" port=3000 ! fdsink fd=2

If we pull the network cable from the client machine, it never detects 
the network failure and keeps waiting for the data from server.

Setting timeout value can be useful here.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list