[gstreamer-bugs] [Bug 554839] Release dynamic pad from GstRtpBin

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Sun Oct 5 15:19:45 PDT 2008


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=554839

  GStreamer | gst-plugins-bad | Ver: HEAD CVS




------- Comment #1 from Stian Selnes  2008-10-05 22:19 UTC -------
Created an attachment (id=119991)
 --> (http://bugzilla.gnome.org/attachment.cgi?id=119991&action=view)
Test case checking if GstRtpBin releases pad and is ready for new stream with
same ssrc.

A simple test case written in Vala. It creates a receiver that contains a
GstRtpBin. gst_element_release_request_pad() is called after an RTP stream has
timed out. After time out the test script also sends a new stream with same
ssrc to the receiver. Currently, the pad-added signal is not emitted the second
time. I believe this should work.

The output of the test case is now:
"""
  pad_added (recv_rtp_sink_0)
Sending stream #1
  on_new_stream (0, 1000000000)
  pad_added (recv_rtp_src_0_1000000000_96)
  Setting up playback of incoming stream
  Stopped sending. Waiting for timeout...
  on_timeout (0, 1000000000)
  Tearing down playback of stream
SUCCESS on stream #1
Sending stream #2
  on_new_stream (0, 1000000000)
  Stopped sending. Waiting for timeout...
  on_timeout (0, 1000000000)
FAILURE on stream #2
"""

I hope that after implementing release of these pads in GstRtpBin this test
case would print "SUCCESS on stream #2" on that last line.


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=554839.




More information about the Gstreamer-bugs mailing list