Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

119
Views
Streaming chunks of mp3 file from server and playing them on client

I am trying to build an internet radio and have stumbled upon the problem mentioned on the title.

To be precise, I want to be able to send chunks of an mp3 (or any other audio format that can do the job) file from a server to the clients so that at any moment, all clients are listening to the same part of the song.

I also, understand that the same thing could probably be achieved by only notifying the clients of the exact location in the song the clients should start from. I have not experimented with this solution a lot yet.

I have seen that this question has been answered here but I was wondering if someone has gotten to a better point in the years that followed that post.

Thank you in advance.

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

All you have to do is send them over HTTP. Then, the clients can use the regular audio element.

const audio = new Audio('https://stream.example.com/woot');

This is exactly how streaming with SHOUTcast/Icecast works.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!