audio issue in receiving rtsp streaming

Gareth Alldread gda72 at
Thu Nov 17 09:25:58 UTC 2022

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?

On Wed, 16 Nov 2022 at 20:22, cfd new via gstreamer-devel <
gstreamer-devel at> wrote:

> Hi, Gareth,
>    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.
> 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)
> to the pipeline and set its state to Playing.
>    Joe
> On Wednesday, November 16, 2022, 11:28:14 a.m. EST, Gareth Alldread via
> gstreamer-devel <gstreamer-devel at> wrote:
> Hi,
> 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.
> Can you share with me the pipeline you are using please?
> Gareth
> On Tue, 15 Nov 2022 at 19:27, cfd new via gstreamer-devel <
> gstreamer-devel at> wrote:
> If I use playbin, it works fine. How does playbin automatically handle
> streaming with and without audio?
> On Tuesday, November 15, 2022, 02:07:33 p.m. EST, cfd new <
> newcfd at> wrote:
> 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.
> How to add audio part dynamically to the pipeline for rtsp streaming with
> audio?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the gstreamer-devel mailing list