![](https://secure.gravatar.com/avatar/8f4f8df548f2197bfd125139f4bffb98?rating=PG&size=50&default=https%3A%2F%2Fcdn.desk.com%2Fassets%2Funknown_user_50-8ad5644bbe6b1bd7454f2ea465f782bd.png)
get live buffer
hi
The api call: jwplayer().getBuffer() always returns 0 when the player plays live HLS streams.
Is there a way of getting the amount of seconds buffered on a live HLS stream?
hi
The api call: jwplayer().getBuffer() always returns 0 when the player plays live HLS streams.
Is there a way of getting the amount of seconds buffered on a live HLS stream?
Hi there,
As per our JavaScript API documentation the HLS buffer is only exposed for on-demand (VOD) streams, not live. There is no other method for retrieving the current amount of buffer stored for a live stream.
Please let me know if you need any more help or have any other questions.
Thank you!