After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 339571 - [gdp] needs to handle events - tcpclientsink / tcpserversrc example not working
[gdp] needs to handle events - tcpclientsink / tcpserversrc example not working
Status: RESOLVED INVALID
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
git master
Other All
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-04-24 13:59 UTC by Rob Caskey
Modified: 2010-12-05 01:38 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14



Description Rob Caskey 2006-04-24 13:59:40 UTC
Please describe the problem:
trying to send audio over tcp gives the following results

<wingo> and the reason is that gstreamer isn't sending events over gdp, and not
handling newsegment sensibly

Steps to reproduce:
for server:
gst-launch-0.10 tcpserversrc protocol=gdp ! alsasink
for client:
gst-launch-0.10 filesrc location=/usr/share/sounds/shutdown.wav ! wavparse !
tcpclientsink protocol = gdp

Actual results:
I get lots and lots of the following message:
(gst-launch-0.10:8526): GStreamer-CRITICAL **: gst_segment_clip: assertion
`segment->format == format' failed

Expected results:


Does this happen every time?
yup, wingo got the problem as well

Other information:
Comment 1 Tim-Philipp Müller 2007-02-01 18:20:28 UTC
Seems to work fine for me now with current CVS if I insert gdppay and gdpdepay elements (not sure they are meant to be used like this):


 $ gst-launch-0.10 tcpserversrc protocol=gdp ! gdpdepay ! alsasink

 $ gst-launch-0.10 filesrc location=foo.ogg ! decodebin ! audioconvert ! audioresample ! gdppay ! tcpclientsink protocol = gdp


Comment 2 David Schleef 2010-12-05 01:38:50 UTC
The protocol=gdp feature of the tcp elements has been deprecated in favor of the gdppay/gdpdepay elements.  (And you don't want to set protocol=gdp, as Tim does in the above pipelines.)

And gdppay/gdpdepay do pass events.

Marking as INVALID, but it may not have been invalid at the time it was filed.