rtpjitterbuffer: lost event not emitted
Submitted by Marcin Lewandowski
Link to original bug (#773783)
Description
I use 1.9.90 with applied patches from bug 771723.
When I run the following pipeline
sender:
gst-launch-1.0.exe -v audiotestsrc is-live=true ! queue ! audioconvert ! audioresample ! audiocheblimit mode=1 cutoff=80.0 ! audioconvert ! audioresample ! identity drop-probability=0.05 ! opusenc packet-loss-percentage=10 complexity=10 inband-fec=true dtx=true bitrate-type=0 bandwidth=-1000 bitrate=96000 audio-type=2049 ! rtpopuspay ! udpsink port=5000 host=127.0.0.1
receiver:
gst-launch-1.0.exe -v -m udpsrc port=5000 timeout=1000000000 caps=application/x-rtp,media=audio reuse=false ! rtpjitterbuffer do-lost=true ! rtpopusdepay ! opusdec plc=true use-inband-fec=true apply-gain=false ! audioconvert ! audioresample ! autoaudiosink
the PLC is not triggered. It seems that lost events are not emitted.
I have enabled GST_DEBUG=opusdec:5 in the receiver and the only thing I get is
0:00:25.259822612 5236 00000000030BC140 DEBUG opusdec gstopusdec.c:530:opus_dec_chain_parse_data:<opusdec0>
Using buffer of size 240
0:00:25.263299653 5236 00000000030BC140 DEBUG opusdec gstopusdec.c:642:opus_dec_chain_parse_data:<opusdec0>
decoded 960 samples
0:00:25.274930558 5236 00000000030BC140 DEBUG opusdec gstopusdec.c:504:opus_dec_chain_parse_data:<opusdec0>
Received buffer of size 240
0:00:25.278308575 5236 00000000030BC140 DEBUG opusdec gstopusdec.c:530:opus_dec_chain_parse_data:<opusdec0>
Using buffer of size 240
0:00:25.281801531 5236 00000000030BC140 DEBUG opusdec gstopusdec.c:642:opus_dec_chain_parse_data:<opusdec0>
decoded 960 samples
Version: 1.9.90