How to set streamheader in caps of appsrc? | OPUS

jeyp4 jaiforfriend at
Sat Feb 22 21:47:44 UTC 2020

I found the easy hack

caps = gst_caps_from_string("audio/x-opus, rate=(int)16000, channels=(int)1,
                                        " stream-count=(int)1,
coupled-count=(int)0, streamheader=(buffer)< 4f70757348"
"8204753747265616d6572206f707573656e630000000001 >");

But still without opusparse element, pipeline throws error
Error received from element app_source: Internal data flow error.
Debugging information: gstbasesrc.c(2948): gst_base_src_loop ():
streaming task paused, reason error (-5)

Sent from:

More information about the gstreamer-devel mailing list