Question about gst_rtsp_media_prepare and gst_rtsp_media_unprepare

Francisco Javier Velazquez francisv at ifi.uio.no
Fri Aug 28 10:34:21 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. 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.

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/20150828/40f40d4c/attachment-0001.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: 0001-Adding-test_media_multidyn_pipe_prepare.patch
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150828/40f40d4c/attachment-0003.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150828/40f40d4c/attachment-0003.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: output.log
Type: application/octet-stream
Size: 6813 bytes
Desc: output.log
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150828/40f40d4c/attachment-0004.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150828/40f40d4c/attachment-0004.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.c
Type: application/octet-stream
Size: 3145 bytes
Desc: test.c
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150828/40f40d4c/attachment-0005.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150828/40f40d4c/attachment-0005.htm>


More information about the gstreamer-devel mailing list