<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi,<div class=""><br class=""></div><div class="">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.<div class=""><br class=""></div><div class="">Testing code in test.c file or <a href="http://ur1.ca/ni5kr" class="">http://ur1.ca/ni5kr</a>. I also attach a patch that you can apply to gst-rtsp-server master if you want to test it.</div><div class=""><br class=""></div><div class="">The output log in output.log or <a href="http://ur1.ca/ni5jx" class="">http://ur1.ca/ni5jx</a>.</div><div class=""><br class=""></div><div class="">The problem seems to be with the creation og ghost pads. Shouldn't they be handled transparently by gst_rtsp_media_prepare?</div><div class=""><br class=""></div><div class="">Thanks in advance if someone can help me with this.</div></div><div class=""><br class=""></div><div class="">Francisco</div><div class=""><br class=""></div><div class=""></div></body></html>