AppSrc.duration

Get duration property.

  1. ulong duration [@property getter]
    class AppSrc
    @property
    ulong
    duration
    ()
  2. ulong duration [@property setter]

Return Value

Type: ulong

The total duration in nanoseconds of the data stream. If the total duration is known, it is recommended to configure it with this property.