Buffer.getReferenceTimestampMeta

gst.reference_timestamp_meta.ReferenceTimestampMeta getReferenceTimestampMeta(gst.caps.Caps reference = null)

Finds the first #GstReferenceTimestampMeta on buffer that conforms to reference. Conformance is tested by checking if the meta's reference is a subset of reference.

Buffers can contain multiple #GstReferenceTimestampMeta metadata items.

Parameters

referencea reference #GstCaps

Returns

the #GstReferenceTimestampMeta or null when there

is no such metadata on buffer.