How to set streamheader in caps of appsrc? | OPUS
jeyp4
jaiforfriend at gmail.com
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,
channel-mapping-family=(int)0,"
" stream-count=(int)1,
coupled-count=(int)0, streamheader=(buffer)< 4f70757348"
"65616401013801803e0000000000,
4f707573546167731e000000456e636f646564207769746"
"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 ():
/GstPipeline:app_pipeline/GstAppSrc:app_source:
streaming task paused, reason error (-5)
--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
More information about the gstreamer-devel
mailing list