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

Tim-Philipp Müller t.i.m at
Thu Feb 9 00:49:30 UTC 2023

> > 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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the gstreamer-devel mailing list