<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div class="elementToProof"><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">
<p data-sourcepos="3:1-3:188" dir="auto" class="ContentPasted0">I'm trying to have a pipeline that detects when udpsrc does no longer receives rtp pkts and triggers rtpjitterbuffer do-lost event in order to add silence
<em class="ContentPasted0">only</em> when the rtp pkts are missing.</p>
<p data-sourcepos="3:1-3:188" dir="auto" class="ContentPasted0"><br>
</p>
<p data-sourcepos="5:1-5:396" dir="auto" class="ContentPasted0">My 'current' pipeline is:</p>
<p data-sourcepos="5:1-5:396" dir="auto" class="ContentPasted0">gst-launch-1.0.exe -v udpsrc address=localhost port=5001 caps="application/x-rtp, media=(string)audio, payload=0, clock-rate=(int)8000" ! rtpbin ! rtpjitterbuffer do-lost=true drop-on-latency=true
! rtppcmudepay ! mulawdec ! audioconvert ! audioresample ! audiorate tolerance=200 ! wavenc ! filesink location="/c/temp/danrtp.wav"</p>
<p data-sourcepos="7:1-7:74" dir="auto" class="ContentPasted0"><br>
</p>
<p data-sourcepos="7:1-7:74" dir="auto" class="ContentPasted0">And I have enabled GST_DEBUG but I failed to see the logs corresponding to:</p>
<p data-sourcepos="9:1-9:100" dir="auto" class="ContentPasted0">GST_DEBUG_OBJECT (jitterbuffer, "%d missing packets", gap); from gst/rtpmanager/gstrtpjitterbuffer.c</p>
<p data-sourcepos="9:1-9:100" dir="auto" class="ContentPasted0"><br>
</p>
<p data-sourcepos="11:1-11:128" dir="auto" class="ContentPasted0">Thus, the method: gst_rtp_jitter_buffer_handle_missing_packets do not seem to be executed and the do-lost event is not triggered.</p>
<p data-sourcepos="11:1-11:128" dir="auto" class="ContentPasted0"><br>
</p>
<p data-sourcepos="13:1-13:157" dir="auto" class="ContentPasted0"><span style="color: rgb(0, 0, 0); font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;">Any help is much appreciated. Thank you.</span><br>
</p>
<br>
</span></div>
</body>
</html>