Buffer.addReferenceTimestampMeta

Adds a #GstReferenceTimestampMeta to buffer that holds a timestamp and optionally duration based on a specific timestamp reference. See the documentation of #GstReferenceTimestampMeta for details.

Parameters

referenceidentifier for the timestamp reference.
timestamptimestamp
durationduration, or gst.types.CLOCK_TIME_NONE

Returns

The #GstReferenceTimestampMeta that was added to the buffer