-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stream always starting at beginning #2
Comments
hi is there any update to this issue? i just tried today and seems like its still doing that |
What device are you streaming from? |
iphone 6 |
And what device are you watching the stream from? |
iOS simulator
|
Just tested with that configuration and it is definitely joining a live stream. Because of how HLS works, there is an unavoidable delay. After the 9th ~10 second segment the manifest will start at the 4th segment. #EXTM3U\n#EXT-X-VERSION:3\n#EXT-X-TARGETDURATION:13\n#EXT-X-MEDIA-SEQUENCE:4\n#EXTINF:9,\nindex4.ts\n#EXTINF:13,\nindex5.ts\n#EXTINF:9,\nindex6.ts\n#EXTINF:8,\nindex7.ts\n#EXTINF:13,\nindex8.ts\n" Here is an example manifest that's being uploaded while the 9th segment is being uploaded. When the client joins it will start streaming from the 4th segment, and the manifest is updated on a rotating basis after each chunk e.g. segments 4-8, 5-9, 10-15, etc. When the stream is over a VOD manifest is uploaded that starts at the 1st segment and contains all segments. Try streaming for a longer duration before joining the stream from another device and you'll see it is live. For lower latency you'll need to use something like WebRTC, but it won't scale to large numbers of users for one-to-many (broadcast). |
Ahhh ok that could be it! Maybe you can answer this too. Why does hls have a delay? I tried meerkat
|
hi i think that kickflip still has this issue |
@crivera |
Hi there! We are experimenting with kickflip. But every time we load the stream, it seems to be starting from the beginning of the stream, so it's not really "live". What are we doing wrong or did we miss the concept of kickflip?
The text was updated successfully, but these errors were encountered: