MediaStream.duration

long duration() @property

Get duration property.

Returns

The stream's duration in microseconds or 0 if unknown.