[Bug 678076] New: gst-rtsp-server unit tests

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Jun 14 01:36:52 PDT 2012


https://bugzilla.gnome.org/show_bug.cgi?id=678076
  GStreamer | gst-rtsp-server | git

           Summary: gst-rtsp-server unit tests
    Classification: Platform
           Product: GStreamer
           Version: git
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: Normal
         Component: gst-rtsp-server
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: davidsf at axis.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Created an attachment (id=216389)
 View: https://bugzilla.gnome.org/attachment.cgi?id=216389
 Review: https://bugzilla.gnome.org/review?bug=678076&attachment=216389

gst-rtsp-server unit tests

The attached patch contains suggested unit tests for gst-rtsp-server. The tests
set up a mount point which is mapped to one video and one audio pipeline. The
different tests check RTSP DESCRIBE, SETUP and PLAY, and some error cases.

The suite passes, also with CK_FORK=no. It passes in valgrind when I've applied
the patches in these Bugzilla bugs:

https://bugzilla.gnome.org/show_bug.cgi?id=678015
https://bugzilla.gnome.org/show_bug.cgi?id=678017

One natural extension could be to let tests connect to the RTP stream and
receive audio and video data. Another is to test more error cases.

I added a Makefile dependency to gst-plugin-good so unit tests could load
plugins from there. But I think there was already an implicit dependency,
because GstRTSPMedia creates the rtpbin element.

I'm not sure if gst/rtspserver.c is the right file name. I tried to follow the
naming pattern in core/base/good.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list