Gst.Pad.prototype.peer_query_duration

function peer_query_duration(format:Gst.Format):Boolean {
    // Gjs wrapper for gst_pad_peer_query_duration()
}

Queries the peer pad of a given sink pad for the total stream duration.

format

the Gst.Format requested

Returns

TRUE if the query could be performed.