util_seqnum_next

function util_seqnum_next():guint32 {
    // Gjs wrapper for gst_util_seqnum_next()
}

Return a constantly incrementing sequence number.

This function is used internally to GStreamer to be able to determine which events and messages are "the same". For example, elements may set the seqnum on a segment-done message to be the same as that of the last seek event, to indicate that event and the message correspond to the same segment.

Returns

A constantly incrementing 32-bit unsigned integer, which might overflow back to 0 at some point. Use util_seqnum_compare to make sure you handle wraparound correctly.