GNOME Bugzilla – Bug 576718
[tcpserversink] filesrc location=foo.ogg ! tcpserversink results in not-negotiated error
Last modified: 2009-12-10 16:32:21 UTC
I made a gstreamer test application, which reads a file and tries to serve it to network using TCP. It causes a GStreamer internal error. $ ./test 41_30secOgg-q0.ogg Now playing: 41_30secOgg-q0.ogg Running... Error: Internal GStreamer error: negotiation problem. Please file a bug at http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer. Returned, stopping playback Deleting pipeline I'll attach the source.
Created attachment 131344 [details] Test application that causes this problem
tcpserversink can not work on buffers without caps, the reason being that it needs the streamheaders to send to the client when it connects. What exactly do you want to achieve?
I'm probably misusing the gstreamer API, but the point was i caused an internal error by doing it. If this is not a bug in gstreamer, then the error message is misleading.
Seems to me like: - you want filesrc ! oggparse ! tcpserversink - yes, we should improve the error message