Query.setDuration

Answer a duration query by setting the requested value in the given format.

class Query
void
setDuration

Parameters

format GstFormat

the GstFormat for the duration

duration long

the duration of the stream