Gst.Event.prototype.get_seqnum

function get_seqnum():guint32 {
    // Gjs wrapper for gst_event_get_seqnum()
}

Retrieve the sequence number of a event.

Events have ever-incrementing sequence numbers, which may also be set explicitly via Gst.set_seqnum. Sequence numbers are typically used to indicate that a event corresponds to some other set of events or messages, for example an EOS event corresponding to a SEEK event. It is considered good practice to make this correspondence when possible, though it is not required.

Note that events and messages share the same sequence number incrementor; two events or messages will never have the same sequence number unless that correspondence was made explicitly.

Returns

The event's sequence number. MT safe.