<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!-- p { margin-top: 0px; margin-bottom: 0px; }--></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Hello everybody,<br>
</p>
<p><br>
</p>
<p>I am trying to implement AAC streaming overt RTP, but the receiving pipeline doesn't play any audio (although it says it goes to PLAYING state). <br>
</p>
<p>​I am using the following pipelines with gstreamer 1.12.2:<br>
</p>
<p><br>
</p>
<p>TX:</p>
<p>gst-launch-1.0.exe -v audiotestsrc ! audioconvert ! avenc_aac ! rtpmp4apay ! udpsink<br>
</p>
<p><br>
</p>
<p>RX:<br>
</p>
<p>gst-launch-1.0.exe -v udpsrc ! application/x-rtp,clock-rate=44100 ! rtpjitterbuffer ! rtpmp4adepay ! avdec_aac ! audioconvert ! autoaudiosink<br>
</p>
<p><br>
</p>
<p>(I have also tried replacing the "<span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);">avdec_aa</span><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);">c</span>"
 element with a "decodebin").<br>
</p>
<p>The pipelines don't report any errors, but the second one doesn't play any sound.<br>
</p>
<p>I wonder if there is any other setting, caps I need to specify? I know that the Vorbis codec,<br>
</p>
<p>for instance, needs the DCT coefficients of the transform as extra data when streaming over the network?<br>
</p>
<p><br>
</p>
<p>Also, if I merge the two pipelines together (omitting the udpsink/udpsrc pair), the pipeline works:<br>
</p>
<p>audiotestsrc volume=0.1 ! audioconvert ! avenc_aac ! rtpmp4apay ! application/x-rtp,clock-rate=44100 ! rtpjitterbuffer ! rtpmp4adepay ! avdec_aac ! audioconvert ! wavescope ! videoconvert ! autovideosink<br>
</p>
<p><br>
</p>
<p>I have also tried to supply all the CAPS as reported by the SRC pad of "<span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);">rtpmp4apay </span>" before the "rtpjitterbuffer", still no luck<br>
</p>
<p>/GstPipeline:pipeline0/GstRtpMP4APay:rtpmp4apay0.GstPad:src: caps = application/x-rtp, media=(string)audio, clock-rate=(int)44100, encoding-name=(string)MP4A-LATM, cpresent=(string)0, config=(string)40002410adca00, payload=(int)96, ssrc=(uint)3854776221,
 timestamp-offset=(uint)466007625, seqnum-offset=(uint)12210<br>
</p>
<p><br>
</p>
<p>Many thanks!<br>
</p>
<p>Martin<br>
</p>
<p><br>
</p>
</body>
</html>