[gst-devel] rtp transmit occur "not-negotiated (-4)" error

guodecn guo.dehua at zxelec.com
Wed Nov 10 04:26:29 CET 2010


I have some troubles of rtp transmit of gstreamer. I test the rtp transmit,
server and client are all in local host, so my example as below: 
server: 
gst-launch-0.10 -v videotestsrc ! x264enc ! rtph264pay ! udpsink
host=127.0.0.1 port=40000 sync=false 

client: 
gst-launch-0.10 -v udpsrc caps="
application/x-rtp,media=(string)video,clock-rate=(int)90000,encoding-name=(string)H264,payload=(int)96,ssrc=(uint)237526004,clock-base=(uint)1584170994,seqnum-base=(uint)42626"
port=40000 ! rtph264depay ! decodebin ! xvimagesink 

the client caps is copied from the server's udpsrc caps. But still occur an
error, error message as below: 

ERROR: from element /GstPipeline:pipeline0/GstUDPSrc:udpsrc0: Internal data
flow error. 
Additional debug info: 
gstbasesrc.c(2550): gst_base_src_loop ():
/GstPipeline:pipeline0/GstUDPSrc:udpsrc0: 
streaming task paused, reason not-negotiated (-4) 
Execution ended after 623154883 ns. 
Setting pipeline to PAUSED ... 
Setting pipeline to READY ... 

I have test the rtp example in the tree of
gst-plugin-good/tests/example/rtp, occur the same error. I also have read
the document:
http://cgit.freedesktop.org/gstreamer/gst-plugins-good/tree/gst/rtp/README#n251,
and follow it , still occur the same error. Who can help me? Thanks very
much. 
-- 
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/rtp-transmit-occur-not-negotiated-4-error-tp3035468p3035468.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.




More information about the gstreamer-devel mailing list