Element.queryDuration

Queries an element for the stream duration. This is a convenience function for gstreamerD.

  1. long queryDuration()
    class Element
    long
    queryDuration
    ()
  2. bool queryDuration(GstFormat format, long duration)

Return Value

Type: long

The duration in nanoseconds - GstFormat.TIME.