Question or Bug related to: rtpjitterbuffer do-lost event not triggered
I'm sorry, I'm not sure if it is a bug or I do not know how to use rtpjitterbuffer. I have search on google but I failed to find an answer ...
I'm trying to have a pipeline that detects when udpsrc does no longer get rtp pkts and trigger the rtpjitterbuffer do-lost event in order to add silence only when these pkts are missing.
My 'current' pipeline is: 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 max-dropout-time=200 mode=0 ! rtpptdemux ! rtppcmudepay ! mulawdec ! audioconvert ! audioresample ! audiorate tolerance=200 ! wavenc ! filesink location="/c/temp/danrtp.wav"
And I have enable GST_DEBUG but I failed to see the logs corresponding to:
GST_DEBUG_OBJECT (jitterbuffer, "%d missing packets", gap); from gst/rtpmanager/gstrtpjitterbuffer.c
Thus the method: gst_rtp_jitter_buffer_handle_missing_packets does not seemed to be executed and the do-lost won't be triggered.
I'm sending rtp using: gst-launch-1.0 audiotestsrc wave=2 is-live=1 ! audioconvert ! audioresample ! mulawenc ! rtppcmupay ! udpsink host=localhost port=5001
Any help is much appreciated. Thank you.