AppSrc.duration

ulong duration() @property

Get duration property.

Returns

The total duration in nanoseconds of the data stream. If the total duration is known, it

is recommended to configure it with this property.

void duration(ulong propval) @property

Set duration property.

Parameters

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