Gst.Query.prototype.set_duration
function set_duration(format:Gst.Format, duration:Number):void { // Gjs wrapper for gst_query_set_duration() }
Answer a duration query by setting the requested value in the given format.
- format
the Gst.Format for the duration
- duration
the duration of the stream