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

Marco Ballesio gibrovacco at gmail.com
Wed Nov 10 08:42:50 CET 2010


Hi,

On Wed, Nov 10, 2010 at 5:26 AM, guodecn <guo.dehua at zxelec.com> wrote:

>
> 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
>

you don't need to set sync to false here. Btw it shouldn't harm that much.


>
> 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
>

you must not specify ssrc, clock-base and seqnum-base in your caps. Unless
you're playing back something captured with tcpdump, they're likely to
change for each streaming session.

It's easy to see this through wireshark.


>
> 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)
>

it's reasonable, as the receiving pipeline is expecting EXACTLY the same
SSRC, clock-base and seqnum-base. Maybe you can set the verbosity of your
pipeline to something like GST_DEBUG=3 to confirm.

Regards


> 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.
>
>
> ------------------------------------------------------------------------------
> The Next 800 Companies to Lead America's Growth: New Video Whitepaper
> David G. Thomson, author of the best-selling book "Blueprint to a
> Billion" shares his insights and actions to help propel your
> business during the next growth cycle. Listen Now!
> http://p.sf.net/sfu/SAP-dev2dev
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20101110/39a6388d/attachment.htm>


More information about the gstreamer-devel mailing list