gstrtpst2022-1-fecenc with appsink resulting not-linked errors
I am attempting to use FEC encoding to stream some data over the network, however whenever I use appsrc to feed the data to the pipeline, I get errors related to FEC not-linked, and no data would appear on the FEC sinks rtp.send_fec_src_0_0
& rtp.send_fec_src_0_1
. However, the x264 encoder is outputing data into sink rtp.send_rtp_src_0
.
Is it an issue in the caps, or appsrc is incompatible with FEC encoding?
An example of the used pipeline:
rtpbin name=rtp do-retransmission=true do-lost=true fec-encoders="fec,0=\"rtpst2022-1-fecenc\ rows=5\ columns=5\";"
appsrc format=3 is-live=true name=vs0 ! capsfilter name=vs0_caps caps=video/x-raw,width=1280,height=720,format=I420,pixel-aspect-ratio=1/1,framerate=30/1,interlace-mode=progressive ! videoconvert ! queue ! x264enc name=vs0_enc sliced-threads=true bitrate=1000 key-int-max=10 pass=0 speed-preset=superfast tune=zerolatency ! video/x-h264,profile=constrained-baseline ! rtph264pay mtu=1200 config-interval=1 ssrc=0 ! application/x-rtp,payload=103 ! rtprtxqueue ! rtp.send_rtp_sink_0
rtp.send_rtp_src_0 ! udpsink name=rtp_vs0 host=127.0.0.1 port=3300
rtp.send_fec_src_0_0 ! udpsink name=rtcp_fec0_vs0 host=127.0.0.1 port=3303 async=false
rtp.send_fec_src_0_1 ! udpsink name=rtcp_fec1_vs0 host=127.0.0.1 port=3304 async=false
Resulting error log:
rtpst2022-1-fecenc gstrtpst2022-1-fecenc.c:363:queue_fec_packet:<rtpst_2022_1_fecenc0:fec_1>[00m Failed to push row FEC packet: not-linked
rtpst2022-1-fecenc gstrtpst2022-1-fecenc.c:363:queue_fec_packet:<rtpst_2022_1_fecenc0:fec_1>[00m Failed to push row FEC packet: not-linked
rtpst2022-1-fecenc gstrtpst2022-1-fecenc.c:363:queue_fec_packet:<rtpst_2022_1_fecenc0:fec_1>[00m Failed to push row FEC packet: not-linked
rtpst2022-1-fecenc gstrtpst2022-1-fecenc.c:363:queue_fec_packet:<rtpst_2022_1_fecenc0:fec_1>[00m Failed to push row FEC packet: not-linked
rtpst2022-1-fecenc gstrtpst2022-1-fecenc.c:398:gst_2d_fec_push_item_unlocked:<rtpst_2022_1_fecenc0:fec_0>[00m Failed to push column FEC packet: not-linked
rtpst2022-1-fecenc gstrtpst2022-1-fecenc.c:363:queue_fec_packet:<rtpst_2022_1_fecenc0:fec_1>[00m Failed to push row FEC packet: not-linked
rtpst2022-1-fecenc gstrtpst2022-1-fecenc.c:398:gst_2d_fec_push_item_unlocked:<rtpst_2022_1_fecenc0:fec_0>[00m Failed to push column FEC packet: not-linked
rtpst2022-1-fecenc gstrtpst2022-1-fecenc.c:363:queue_fec_packet:<rtpst_2022_1_fecenc0:fec_1>[00m Failed to push row FEC packet: not-linked
rtpst2022-1-fecenc gstrtpst2022-1-fecenc.c:398:gst_2d_fec_push_item_unlocked:<rtpst_2022_1_fecenc0:fec_0>[00m Failed to push column FEC packet: not-linked