Cloudflare Stream for Audio files?

I know that audio is far less complicated than video, however it is still something that is streams based, and would have a very similar API to Streams (tus based).

For the particular app I am wanting to build, it will be an audio and video sharing site. So it would be unfortunate to select Cloudflare Stream for video, yet have to do something entirely different for audio, rather than just leveraging one solution (or two solutions with a similar API).

Does Cloudflare have any plans to tackle audio streaming?

12 Likes

+1 for this. Any plans for allowing audio files to be streamed as well as video? Would be seriously amazing to be able to create audio playlists of my own recordings in wordpress…etc!!

2 Likes

I’m very interested in streaming audio files. Are there any news?

1 Like

Wow! Its been 2 years and still there are no updates? Since we have video its natural to also have audio, it could have really helped. Now i have to look for some other CDN to do this job.

When I last checked (the other month) it’s Enterprise only with no plans to roll out to other plans at this time.

Seriously guys, add audio streaming, please.

Just a troll’y hacker’y mindset here. Couldn’t we as users just stream a 1px by 1px video with an audio stream? Or stream a video container that only has an audio source and no video sources?

Not perfect, but certainly not prohibitively impasse.

Biggest issue would be paying for the cost of full-fledged video, when you are sending something that is orders of magnitude tinier.

1 Like

+1
Please add audio streaming.

+1 For Audio. Otherwise I have to find some other solution for my audio files. Perhaps S3, but then, why do I need Cloudflare at all in that case?

Hi Whistles, I am new to CF. I read quite a few posts and your inputs com again and again with lots of knowledge and experience.

So I allow myself to ask you please about latest status regarding the audio-only streaming and HLS support on CF.

Can I use “CF STREAM” to stream audio-only?
Or do I need to add my own Worker for HLS audio-only streaming?
Or is there any third smarter option out there :slight_smile: ?

Many many thanks for your enlightenments !

Mikael (Munich)

Hi

Unfortunately to stream audio only over CF with the full benefits of the Cloudflare DDoS protection is still only available via Enterprise packages at this time.

You could use just an image on Stream and only provide Audio, but that is not what you are looking for.

I do not know the specifics of Worker limits and if streaming would be allowed (I doubt it), someone else more familiar with Workers maybe able to help with that.

Hi Whistles, could you please point to the ENTERPRISE plan ou mentioned here. I cannot find precisely the information. thanks so much :slight_smile: Cheers, M.

Enterprise plans are done on a case by case basis & audio streaming is not a standard feature so you would need to discuss with them your plans and the scale needed etc…

hi, this may work for me, how to do this instead of create an empty video file first?

You would need to stream video but with just an still image (for example). I assume that is what you mean by “empty video file”? So this would still be needed.

This is a waste of bandwidth, but if you really want to you can use ffmpeg for example:

ffmpeg -i image.png -i audio.m4a -c:v libx264 -tune stillimage -c:a copy out.mp4

Be sure the image is (at least) 1920x1080. You can extend the command with some other parameters to change the quality or codec of the audio.

I would like this. We allow our users to toggle between video and audio and its a big drawback, that I have to stream audio from elsewhere.

Streaming a hidden video is not a good solution because of bandwidth and because browsers don’t allow playback with screen turned off.