<html><head></head><body><div class="ydp29856217yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div></div>
        <div><br></div><div dir="ltr" data-setdir="false">The pipeline is in playing state. You have to set the added parts(audio bin) to playing state as well. Otherwise, it will not work. But I can not add volume element to audio bin anymore. That is weird.<br></div>
        
        </div><div id="yahoo_quoted_9553034992" class="yahoo_quoted">
            <div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
                
                <div>
                    On Thursday, November 17, 2022, 05:30:55 a.m. EST, Gareth Alldread via gstreamer-devel <gstreamer-devel@lists.freedesktop.org> wrote:
                </div>
                <div><br></div>
                <div><br></div>
                <div><div id="yiv5525351183"><div><div dir="ltr"><div dir="ltr">Thanks.  I thought I tried that.  So - in the pad added callback - you actually change the pipeline and then set the state to playing?  Assume you had already set the state to playing elsewhere in order for the pad added callback to even happen?<br clear="none"></div><br clear="none"><div id="yiv5525351183yqt75538" class="yiv5525351183yqt2840014958"><div class="yiv5525351183gmail_quote"><div dir="ltr" class="yiv5525351183gmail_attr">On Wed, 16 Nov 2022 at 20:22, cfd new via gstreamer-devel <<a rel="nofollow noopener noreferrer" shape="rect" ymailto="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank" href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a>> wrote:<br clear="none"></div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex;" class="yiv5525351183gmail_quote"><div><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div></div>
        <div><br clear="none"></div><div dir="ltr">Hi, Gareth,</div><div dir="ltr"><br clear="none"></div><div dir="ltr">   sorry I can not share the pipeline with you since it is company property. I have solved the issue. Firstly, make video parts only and run it.</div><div dir="ltr"><div dir="ltr">connect video source with "pad-added" signal and check if audio is available in the streaming from pad info. If yes, add audio parts(audiobin)</div><div dir="ltr">to the pipeline and set its state to Playing.  <br clear="none"></div><div dir="ltr"><br clear="none"></div><div dir="ltr">   Joe<br clear="none"></div><div><br clear="none"></div></div>
        
        </div><div id="yiv5525351183m_-3434279007136456834yahoo_quoted_9217439105">
            <div style="font-family:Helvetica, Arial, sans-serif;font-size:13px;color:rgb(38,40,42);">
                
                <div>
                    On Wednesday, November 16, 2022, 11:28:14 a.m. EST, Gareth Alldread via gstreamer-devel <<a rel="nofollow noopener noreferrer" shape="rect" ymailto="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank" href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a>> wrote:
                </div>
                <div><br clear="none"></div>
                <div><br clear="none"></div>
                <div><div id="yiv5525351183m_-3434279007136456834yiv8622847768"><div><div dir="ltr"><div>Hi,</div><div><br clear="none"></div><div>I have exactly the same issue.  The symptom I get is just a green screen (like only 1 frame of video has been decoded).  I am still hoping someone on here can help with this.</div><div><br clear="none"></div><div>Can you share with me the pipeline you are using please?<br clear="none"></div><div><br clear="none"></div><div>Gareth<br clear="none"></div><br clear="none"><div id="yiv5525351183m_-3434279007136456834yiv8622847768yqt66215"><div><div dir="ltr">On Tue, 15 Nov 2022 at 19:27, cfd new via gstreamer-devel <<a rel="nofollow noopener noreferrer" shape="rect" ymailto="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank" href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a>> wrote:<br clear="none"></div><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex;"><div><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div></div>
        <div dir="ltr">If I use playbin, it works fine. How does playbin automatically handle streaming with and without audio?<br clear="none"></div><div><br clear="none"></div>
        
        </div><div id="yiv5525351183m_-3434279007136456834yiv8622847768m_-2857524562343645932yahoo_quoted_9424506240">
            <div style="font-family:Helvetica, Arial, sans-serif;font-size:13px;color:rgb(38,40,42);">
                
                <div>
                    On Tuesday, November 15, 2022, 02:07:33 p.m. EST, cfd new <<a rel="nofollow noopener noreferrer" shape="rect" ymailto="mailto:newcfd@yahoo.com" target="_blank" href="mailto:newcfd@yahoo.com">newcfd@yahoo.com</a>> wrote:
                </div>
                <div><br clear="none"></div>
                <div><br clear="none"></div>
                <div><div id="yiv5525351183m_-3434279007136456834yiv8622847768m_-2857524562343645932yiv6822451086"><div><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div dir="ltr">I have a pipeline for video and audio. If rtsp streaming has both audio and video, it works fine. But if the rtsp streaming does not have audio, the pipeline will freezes.</div><div dir="ltr">How to add audio part dynamically to the pipeline for rtsp streaming with audio?<br clear="none"></div></div></div></div></div>
            </div>
        </div></div></blockquote></div></div></div>
</div></div></div>
            </div>
        </div></div></blockquote></div></div></div>
</div></div></div>
            </div>
        </div></body></html>