avtp: Introduce the CRF Check element
authorVedang Patel <vedang.patel@intel.com>
Mon, 14 Oct 2019 20:55:57 +0000 (13:55 -0700)
committervedangpatel1 <vedang.patel@intel.com>
Thu, 30 Apr 2020 23:31:25 +0000 (23:31 +0000)
commite47fa2006f7a51b87e9ef353f9cee3d47f05a5ff
treebff3c15cd7d86d7b914c72680df24b59555b12aa
parent12ad2a4bcd6c02f3f48b1b3c495d152fe3ec1093
avtp: Introduce the CRF Check element

This commit introduces the AVTP Clock Reference Format (CRF) Checker
element. This element re-uses the GstAvtpCrfBase class introduced along
with the CRF Synchronizer element.

This element will typically be used along with the avtpsrc element to
ensure that the AVTP timestamp (and H264 timestamp in case of CVF-H264
packets) is "aligned" with the incoming CRF stream. Here, "aligned" means
that the timestamp value should be within 25% of the period of the media
clock recovered from the CRF stream.

The user can also set an option (drop-invalid) in order to drop any packet
whose timestamp is not within the thresholds of the incoming CRF stream.
ext/avtp/gstavtp.c
ext/avtp/gstavtpcrfcheck.c [new file with mode: 0644]
ext/avtp/gstavtpcrfcheck.h [new file with mode: 0644]
ext/avtp/meson.build