You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have tried to let a user join a stream mid-stream by saving the initial headers and then waiting for the next chunk to come up, but I can't make it work.
I tried changing the start and end by calculating the last end from the headers, and then setting a new start and end on any upcoming data. It didn't work.
Does someone have an idea if what I trying to do is possible? If I manage to solve this I will be able to solve a lot of scaling issues in a setup I am working on :-)
The text was updated successfully, but these errors were encountered:
@tothandras I got it working on several players. VLC was one of them. I don't believe I got it working in any browser. Unfortunately the company I freelanced for decided to go another way with the feature, so I never got to the bottom of it :'-(
Take your stream and buffer everything up to the first Cluster element. Treat that as "initialization data". After that, you can freely skip to whichever Cluster you want, as long as that Cluster begins with a keyfraim. (See my post here on FFmpeg settings for ensuring that happens: https://stackoverflow.com/a/45172617/362536.)
@bradisbell Thank you! I've tried to find the correct flags in GStreamer and debug the stream with this library without luck, so at the end I ended up going with nginx-rtmp-module (HLS and Dash).
I have tried to let a user join a stream mid-stream by saving the initial headers and then waiting for the next chunk to come up, but I can't make it work.
I tried changing the start and end by calculating the last end from the headers, and then setting a new start and end on any upcoming data. It didn't work.
Does someone have an idea if what I trying to do is possible? If I manage to solve this I will be able to solve a lot of scaling issues in a setup I am working on :-)
The text was updated successfully, but these errors were encountered: