AppSrc.getDuration

gst.types.ClockTime getDuration()

Get the duration of the stream in nanoseconds. A value of GST_CLOCK_TIME_NONE means that the duration is not known.

Returns

the duration of the stream previously set with [gstapp.app_src.AppSrc.setDuration];