Question about gst_rtsp_media_prepare and gst_rtsp_media_unprepare

Francisco Velázquez francisv at ifi.uio.no
Fri Aug 21 05:46:17 PDT 2015


Hi,

In gst-rtsp-server you can prepare and unprepare a media by calling gst_rtsp_media_prepare and gst_rtsp_media_unprepare. I thought I could prepare a media, then unprepare it, modify it by removing or adding a payloader, and prepare it again, but it does not work.

Testing code in test.c file or http://ur1.ca/ni5kr <http://ur1.ca/ni5kr>. I also attach a patch that you can apply to gst-rtsp-server master if you want to test it.

The output log in output.log or http://ur1.ca/ni5jx <http://ur1.ca/ni5jx>.

The problem seems to be with the creation og ghost pads. Shouldn't they be handled transparently by gst_rtsp_media_prepare?

Thanks in advance if someone can help me with this.

Francisco

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150821/9e112c6f/attachment-0004.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Adding-test_media_multidyn_pipe_prepare.patch
Type: application/octet-stream
Size: 3959 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150821/9e112c6f/attachment-0003.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150821/9e112c6f/attachment-0005.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: output.log
Type: application/octet-stream
Size: 6756 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150821/9e112c6f/attachment-0004.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150821/9e112c6f/attachment-0006.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.c
Type: application/octet-stream
Size: 3047 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150821/9e112c6f/attachment-0005.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150821/9e112c6f/attachment-0007.html>


More information about the gstreamer-devel mailing list