Answer the question
In order to leave comments, you need to log in
Is it possible to write online radio in php?
If yes, and I hope for a positive answer, there are a couple of questions.
I would like to write a radio in php for a general outlook.
those. there will be a demon on php which gives the data in a stream. At the same time, 1-10 clients can connect to it and receive data. It is desirable, of course, that everyone listens to one song with an error of 1-2 seconds.
Advise literature, articles. What functions should be used to create a daemon and stream a file.
Thanks in advance
Answer the question
In order to leave comments, you need to log in
Have you seen this article ?
If it's not a secret, why in PHP? He's not at all suited for such purposes.
IMHO, personally, I would try to do this on Go to broaden my horizons.
What for? The liquidsoap + icecast bundle rises in 10 minutes ... And if the point is self-learning, then the task, IMHO, is too complicated, because even parsing mp3 and merging 2 streams without mixing and id3 tags is quite problematic.
daemon in php
reactphp to help you - an asynchronous framework
will help in distributing a stream to more than 1 client
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question