videojs/http-streaming

How to get the VOD/live property of the current playing stream from player?

snowinszu opened this issue · 2 comments

How to get the VOD/live property of the current playing stream from player?

If live, player.duration() returns Infinity.

If using the LiveTracker there is also player.liveTracker.isLive().

Thanks.