Answer the question
In order to leave comments, you need to log in
How does stream audio work?
I wonder when something like that is indicated
<audio src="http://example.com/audio-stream/>
and it broadcasts an infinite amount of time until the stream ends
in what format does this happen? How does it add data to it on the server side? for example, mp3 is supposed to have a clearly fixed length (or not?) and it is unlikely that it drives data without compression.
where to dig on this topic when implementing a streaming service in java?
Answer the question
In order to leave comments, you need to log in
streaming can be done in different formats. both with and without compression.
and the principle is very simple: we open a stream and play it while data comes from it.
specific implementations depend on the stream format: it can be a banal playlist, it can be continuous.
in our time, there is no need to invent something, especially in the absence of knowledge on the topic: there are a lot of polished and proven solutions for streaming. from absolutely free to impressive sums.
what you should take care of is a nice player and software for managing the stream. and then, only if they are not satisfied with the ready-made ones.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question