[gst-devel] Errors running RTP examples

Bram Senders bram at luon.net
Wed Mar 10 13:21:23 CET 2010


Hi there,

I'm building a really simple RTP server/client pair, and to do so,
I've been trying to get the simple RTP examples from
http://cgit.freedesktop.org/gstreamer/gst-plugins-good/tree/tests/examples/rtp
to work.  For now I focus on the pair of server-alsasrc-PCMA.sh and
client-PCMA.sh, because these seem to be the simplest.  The problem I
run into (with these scripts, but with the more complicated scripts as
well) is that they run fine on my Ubuntu 9.10 box, but do not work in
Debian unstable.

To illustrate this, I have attached two log files, both containing the
output of "GST_DEBUG=2 ./server-alsasrc-PCMA.sh" running for a couple
of seconds (without actually attaching a client to it).  The file
good-ubuntu-9.10.log shows that everything works fine running on
Ubuntu; using the iptraf program I can see UDP packets as soon as the
server starts, and I can connect to the server using the client
script.

On the other hand, the file bad-debian-unstable.log shows that things
go wrong in Debian unstable: the server continuously reports lines
like "0:00:00.361053274  7912 0xb6700980 WARN            multiudpsink
gstmultiudpsink.c:466:gst_multiudpsink_render:<udpsink0> client
0x90d09f8 gave error 101 (Network is unreachable)", and using iptraf I
can see that no UDP packets are being sent at all.  Apart from these
warning lines, the two logs are almost the same.

This was tested using streaming to 127.0.0.1 (as is the default in the
scripts); I also tried streaming from the one box to the other, and in
this case also the server does not work in Debian (the client DOES
work here, when receiving an RTP stream from the Ubuntu box).

Now since Debian unstable has newer GStreamer libraries than Ubuntu
9.10, the only thing that I can (currently) imagine going wrong is
that there is a regression in the libraries somehow.  GStreamer on
Ubuntu has the following versions:

$ dpkg -l '*gst*'|grep '^ii'
ii  bluez-gstreamer                       4.51-0ubuntu2
              Bluetooth GStreamer support
ii  gstreamer-tools                       0.10.25-2
              Tools for use with GStreamer
ii  gstreamer0.10-alsa                    0.10.25-2ubuntu1.2
              GStreamer plugin for ALSA
ii  gstreamer0.10-ffmpeg                  0.10.9-1
              FFmpeg plugin for GStreamer
ii  gstreamer0.10-nice                    0.0.9-2
              ICE library (GStreamer plugin)
ii  gstreamer0.10-plugins-bad             0.10.14-4ubuntu1
              GStreamer plugins from the "bad" set
ii  gstreamer0.10-plugins-base            0.10.25-2ubuntu1.2
              GStreamer plugins from the "base" set
ii  gstreamer0.10-plugins-base-apps       0.10.25-2ubuntu1.2
              GStreamer helper programs from the "base" se
ii  gstreamer0.10-plugins-good            0.10.16-1ubuntu3
              GStreamer plugins from the "good" set
ii  gstreamer0.10-plugins-ugly            0.10.12-1
              GStreamer plugins from the "ugly" set
ii  gstreamer0.10-plugins-ugly-multiverse 0.10.12-0ubuntu1
              GStreamer plugins from the "ugly" set (Multi
ii  gstreamer0.10-pulseaudio              0.10.16-1ubuntu3
              GStreamer plugin for PulseAudio
ii  gstreamer0.10-tools                   0.10.25-2
              Tools for use with GStreamer
ii  gstreamer0.10-x                       0.10.25-2ubuntu1.2
              GStreamer plugins for X11 and Pango
ii  libgstfarsight0.10-0                  0.0.15-1ubuntu1
              Audio/Video communications framework: core l
ii  libgstreamer-plugins-base0.10-0       0.10.25-2ubuntu1.2
              GStreamer libraries from the "base" set
ii  libgstreamer0.10-0                    0.10.25-2
              Core GStreamer libraries and elements
ii  python-gst0.10                        0.10.17-1
              generic media-playing framework (Python bind

And GStreamer on Debian has the following versions:

$ dpkg -l '*gst*'|grep '^ii'
ii  gir1.0-gstreamer-0.10                 0.10.28-1
      Description: GObject introspection data for
ii  gstreamer-tools                       0.10.28-1
      Tools for use with GStreamer
ii  gstreamer0.10-alsa                    0.10.28-1
      GStreamer plugin for ALSA
ii  gstreamer0.10-ffmpeg                  0.10.10-1
      FFmpeg plugin for GStreamer
ii  gstreamer0.10-gnomevfs                0.10.28-1
      GStreamer plugin for GnomeVFS
ii  gstreamer0.10-nice                    0.0.10-2+b1
      ICE library (GStreamer plugin)
ii  gstreamer0.10-plugins-bad             0.10.18-1
      GStreamer plugins from the "bad" set
ii  gstreamer0.10-plugins-base            0.10.28-1
      GStreamer plugins from the "base" set
ii  gstreamer0.10-plugins-good            0.10.21-1
      GStreamer plugins from the "good" set
ii  gstreamer0.10-tools                   0.10.28-1
      Tools for use with GStreamer
ii  gstreamer0.10-x                       0.10.28-1
      GStreamer plugins for X11 and Pango
ii  libgst-ruby                           0.19.3-1
      GStreamer bindings for the Ruby language
ii  libgst-ruby1.8                        0.19.3-1
      GStreamer bindings for the Ruby language
ii  libgstfarsight0.10-0                  0.0.17-2+b1
      Audio/Video communications framework: core l
ii  libgstreamer-plugins-base0.10-0       0.10.28-1
      GStreamer libraries from the "base" set
ii  libgstreamer-plugins-base0.10-dev     0.10.28-1
      GStreamer development files for libraries fr
ii  libgstreamer0.10-0                    0.10.28-1
      Core GStreamer libraries and elements
ii  libgstreamer0.10-dev                  0.10.28-1
      GStreamer core development files
ii  python-gst0.10                        0.10.18-1
      generic media-playing framework (Python bind

I don't know very much about GStreamer internals, so I am kind of
stuck here, and I really need RTP streaming to work on Debian unstable
as well.  So any ideas on how to further debug this issue, or
alternative ways to get a simple RTP pipeline working, would be very
much appreciated.

Cheers,
Bram Senders
-------------- next part --------------
A non-text attachment was scrubbed...
Name: good-ubuntu-9.10.log
Type: text/x-log
Size: 6705 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20100310/ef2e424e/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bad-debian-unstable.log
Type: text/x-log
Size: 24680 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20100310/ef2e424e/attachment-0001.bin>


More information about the gstreamer-devel mailing list