AppSrc.getDuration

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

class AppSrc
getDuration
()

Return Value

Type: gst.types.ClockTime

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