Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

How to seek to last segment in HLS and RTMP streaming?


How to seek to last segment in HLS and RTMP streaming?
I listen onTime event, the event.duartion is always -1 in RTMP , Infinity in HLS.

3 Community Answers

Heidi

JW Player Support Agent  
0 rated :

Your stream will need to be VOD in order to be seekable. It sounds like your stream is live so the player won’t be able to find the last segment of your video.

wenhua1986.tang

User  
0 rated :

Thanks.
If I set the controls to true, there has controls bar and progress bar. what the function of the progress bar for live stream?
And I drag the progress bar , the live stream jump to last segment. is't right?

Heidi

JW Player Support Agent  
0 rated :

For a live stream, you will not see any player controls, just the text “live broadcast”. Have you checked our documentation on streaming here? https://support.jwplayer.com/customer/portal/articles/1430349-about-rtmp-streaming

This question has received the maximum number of answers.