Streaming in stereo in OPUS

Sebastian Dröge sebastian at centricular.com
Thu Jul 20 06:52:25 UTC 2017


On Wed, 2017-07-19 at 13:54 -0700, TouchOfDestiny wrote:
> 
> /GstPipeline:pipeline0/GstRtpOPUSPay:rtpopuspay0.GstPad:sink: caps =
> "audio/x-opus\,\ multistream\=\(boolean\)false\,\
> streamheader\=\(buffer\)\<\ 4f707573486561640102000080bb0000000000\,\
> 4f707573546167731e000000456e636f6465642077697468204753747265616d65722
> 04f707573656e630000000001\
> \>"

You seem to be using an old version of GStreamer. A new version would
print:

/GstPipeline:pipeline0/GstRtpOPUSPay:rtpopuspay0.GstPad:sink: caps =
audio/x-opus, rate=(int)48000, channels=(int)2, channel-mapping-
family=(int)0, stream-count=(int)1, coupled-count=(int)1,
streamheader=(buffer)< 4f707573486561640102380180bb0000000000,
4f707573546167731e000000456e636f6465642077697468204753747265616d6572206
f707573656e63010000001a0000004445534352495054494f4e3d617564696f74657374
207761766501 >

The channels and other fields in the caps are relevant here, and are
exactly why I was asking you for your receiver pipeline. streamheader
is not required, but the others should be provided on the receiver
pipeline. It should default to stereo without that, but not sure if
that's also the case with the old GStreamer version you're using.

-- 
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20170720/ac0473cb/attachment.sig>


More information about the gstreamer-devel mailing list