Hi, I have an IP camera I’m connecting to with
rtspsrc add-reference-timestamp-meta=true location=... ! rtph264depay ! [ rest of pipeline ]
It’s a new brand/model I’ve not used before, and I’m not getting GstReferenceTimestampMeta
object on the downstream buffers.
In wireshark I can see that the camera is sending RTCP Sender Reports with NTP time.
Here’s what I’ve got from debugging so far:
- In
gst_rtp_jitter_buffer_chain
adding either
GST_INFO_OBJECT (jitterbuffer, "TIME %" GST_TIME_FORMAT, GST_TIME_ARGS (ntp_time));
or
GST_INFO_OBJECT (jitterbuffer, "TIME %" GST_TIME_FORMAT, GST_TIME_ARGS (inband_ntp_time));
at any point outputs 99:99:99.999999999
.
More logging shows that _get_inband_ntp_time
is doing an early return of GST_CLOCK_TIME_NONE
since priv->ntp64_ext_id == 0
is true.
After that I’m a bit lost trying to work out what ntp64_ext_id
is and how it should be set.
Any pointers from here? Am I looking in the right place at all?