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 zen.co.uk
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.

Cheers
 Tim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20230209/a48624d9/attachment.htm>


More information about the gstreamer-devel mailing list