how to determin if it is mp3 or wav format of audio from GstCaps * caps from coming rtsp streaming

cfd new newcfd at
Thu Feb 9 17:13:43 UTC 2023

Hi, Tim,
   thanks for your suggestion. Audio elements are only part of a customized pipeline, I can not change it.
    On Wednesday, February 8, 2023, 07:49:38 p.m. EST, Tim-Philipp Müller via gstreamer-devel <gstreamer-devel at> wrote:  

need to set the right audio decoder for it. 

If you always want to decode you could also use uridecodebin or
uridecodebin3 with uri=rtsp:// instead of rtspsrc, those elements will
take care of plugging the right depayloader(s) and/or decoder(s) and
then give you the decoded audio/video.
Cheers Tim  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the gstreamer-devel mailing list