<div>Hi there,</div><div><br></div>I'm trying to stream RTP audio encoded as Vorbis. Unfortunately I can't get it working as I seem to have a problem with the caps, which I think could be a bug?<div><br></div><div>
For testing purposes (I will use rtpbin in the end) I use this launch:</div><div><font class="Apple-style-span" face="'courier new', monospace"> gst-launch -v audiotestsrc ! audioconvert ! vorbisenc ! rtpvorbispay ! udpsink host="127.0.0.1" port=5000</font></div>
<div><br></div><div>Here's the caps I get back (are they not a bit long??)</div><div><a href="http://pastebin.com/f36965bea">http://pastebin.com/f36965bea</a></div><div><br></div><div>I can then play back the sound using the launch.</div>
<div><font class="Apple-style-span" face="'courier new', monospace"> gst-launch udpsrc port=5000 caps="MY_CAPS" ! queue ! rtpvorbisdepay ! vorbisdec ! audioconvert ! alsasink</font></div><div><br></div>
<div>It works fine but it's a bit jittery (I assume I need to put a jitterbuffer in there!).</div><div><br></div><div>My problem is when I'm using an audio source from my camera (or from a filesrc):</div><div><font class="Apple-style-span" face="'courier new', monospace"> gst-launch -v dv1394src ! queue ! decodebin ! audioconvert ! vorbisenc ! rtpvorbispay ! udpsink host="127.0.0.1" port=5000</font></div>
<div><br></div><div><div>Here's the caps I get back...</div><div><a href="http://pastebin.com/f5ae9933f">http://pastebin.com/f5ae9933f</a></div></div><div><br></div><div>So when I do the receiving end's launch:</div>
<div> <font class="Apple-style-span" face="'courier new', monospace"> gst-launch udpsrc port=5000 caps="MY_CAPS" ! queue ! rtpvorbisdepay ! vorbisdec ! audioconvert ! alsasink</font></div><div><br></div>
<div>I get an Error:</div><div><font class="Apple-style-span" face="'courier new', monospace"> WARNING: erroneous pipeline: could not set property "caps" in element "udpsrc0" to "application/x-rtp, m....</font></div>
<div><br></div><div>I think this must be due to the \" etc. which are now in the "configuration" property, but removing them means the sound doesn't play back.</div><div><br></div><div>Could this be a bug with the vorbis encoder or rtppayloader or am I just missing something out? It also seems like an abnormally large configuration string, is this normal?</div>
<div><br></div><div>Many thanks in advance,</div><div>Nick</div>