I just created a free Cloudflare account and added the $5 streaming to do some testing - we are looking for alternatives to wowza as a backup.
When doing a 6Mbit 1080p livestream, I see a lot of buffering and eventually very high delay in the players. (using the THEOplayer | Player Statistics and same results on my cloudflare dashboard with the cloudflare player). I ingest from Germany from a 100Mbit uplink, and streaming to wowza (Frankfurt) and our own servers (Munich) works perfect.
As far as I understand, I cannot tweak any settings for the transcoders. It looks like the 2sec HLS packets are just not delivered fast enough through the CDN.
I also find it annoying not to know the m3u8 playlist link beforehand since this changes every time I start to stream. Do I really have to have a script running on one of our servers, that keeps polling the cloudflare API to figure out the playlist link once the stream starts? So there is no way to have a simple player page using Theoplayer or videojs somewhere that starts playing once the stream is active?
Any suggestions or anything I can do about that?
I’m surprised @michael hasn’t tried this out already. Maybe this will be his big weekend activity.
The issues described are very similar to the issues I encountered running short term tests putting audio only streams behind CF.
Be interested to see the responses & other peoples experience with the Stream Live project.
I did some tire kicking last night, but mostly to see what I could do with the default player VAST tags. Not really setup to do live streaming from my laptop. (Amazingly I don’t happen to have an enterprise grade video encoder and a load of SDI sources in my home office right now).
The buffering that was described here was what I was seeing too. I tested 4 Mbps, 6 Mbps, and 8 Mbps streams. The ingesting was going fine with OBS, but watching the stream was a buffering mess - even at low quality in the video player. I then had others confirm that it was buffering too.
I also find this extremely limiting.
We are working to fix the buffering issue.
And agree, being able to have a non-changing m3u8 URL would be useful. At the moment, the upside of creating a different video ids (and m3u8 urls) is that the recorded video can be watched with the same video id after the event. The trade off is that you don’t have a non-changing url for watching the live feed. We are looking at ways to address this.
Echoing what Zaid said above:
- Buffering going away. Agree this is unacceptable. We’re working on it. Will post update here.
- There will be a way to get URLs beforehand that points to the latest live video. You will have option to choose: get URL that converts to VOD (and stays the same as live) or get URL for latest live session.
Is there any ETA on a fix for this? I’ve tested again with my gigabit internet connection and it’s still a problem. It doesn’t feel production ready. I see so much potential here!
As far as I know from experience in streaming platforms. The buffer happens not because there’s an issue with CF, but because the player changing the bit-rate of the live steam like crazy! :-)… need to find a solution by changing automatically between the bit-rates smoothly or the viewer has to change it by him self depends of the internet speed available in his device.
I tried 2 different players with our live stream, the commercial JW and THEOplayer, both has same issue. But when I used the ( ?clientBandwidthHint=1.8 ) at the end of the HLS URL you can watch with no issues at all. But you have one bit-rate locked on.
Example ( https://videodelivery.net/xxxxxxxxxxxxxxxx/manifest/video.m3u8?clientBandwidthHint=1.8, for us we don’t mind but we had issue when we used this technique on our Apps, the Apps wont play this URL because it ends with something other than .m3u8, but you can use this link as I said before with both JW and THEOplayer with no issue.
Also, for people streaming 24/7 specially using Apps for their stream it they needs a static HLS URL, otherwise there’s no point to offer live stream for real productions!
Hey! I’ve got some update for this thread. We’ve identified a number of issues that is causing buffering and started fixing them one by one over the last 10 days this product has been available.
The biggest improvements we’ve made so far is reducing the segment loading latency from 2-3 seconds to about 50-100 milliseconds. In addition, we’ve identified and fixed an issue where buffering could be caused when the input frame rate is not 30 frames per second.
More to come here, and will continue to post updates, including a static link that points to the live broadcast regardless of the recording.
The “static link” feature is now here! You can now use input uid and video uid interchangibly which means that wherever you’d use a video uid, live input uid would also work playing whatever is being sent to the input. If the input is not connected, then a empty response is returned.
Just like you can get a m3u8 URL for a video, now live inputs also have m3u8 urls that follow the same format as videos:
We also just updated the docs on this here: https://developers.cloudflare.com/stream/stream-live/watch-live-stream#view-by-live-input-uid. There is now also an additional lifecycle endpoint that returns if the video is live or not and additional details such as what is the current video id that will be the recording at the end of the broadcast.
Thanks a lot for this update.
Simple and smart to use :- )
As Renan posted, you only need to copy ( Live Input ID ) and replace it with xxxxx and your ready to go, no need to change the URL again for your player. we Used it with JW and TheOPlayer and works fine.
I notice if you wanna use this update, you have to disconnect and reconnect the live stream again. because I tried many times to use this updates but wasn’t working till I decided to disconnect and reconnect the live stream again : )
I’d like to bring this whole discussion up again. I do understand Cloudflare Streaming Live Inputs are still beta.
- is there any schedule when you expect this to be stable (non beta?) can I rely on the live streaming working the same way next month as it is today?
- I already pointed out in October that there is no way to change transcoder settings, are there any plans on adding that? Especially being able to provide a transcoded [email protected] and [email protected] to our viewers when streaming 1080p50 @8Mbit from our studio would be very important for us.
We still stream using Wowza/Fastly and Keycdn as backup CDN, but I’d love to have cloudflare as another option…