Query.newDuration

Constructs a new stream duration query object to query in the given format. Use gst_query_unref() when done with it. A duration query will give the total length of the stream.

class Query
static
newDuration

Parameters

format GstFormat

the GstFormat for this duration query

Return Value

Type: Query

A GstQuery

Meta