This resource allows you to integrate your own radios in place of the original radios.
It’s fully written in JavaScript and uses resource metadata for its configuration.
Erratum: this resource uses a not-meant-to-be-exposed internal API surface. Don’t blame FiveM if this resource doesn’t work anymore after an update.
Last update: 13/03/2022
Features
Radio wheel
Audio file
Audio stream
No dependency
Easy configuration
Player-configurable volume
Showcase
Video showing Los Santos Rock Radio replaced by a WebRadio and Non-Stop-Pop FM replaced by a song:
Known bugs and limitations
No MPEG or AAC support as CEF only supports open formats
is it possible to stream a radio for example a stream??? or is that not possible? would be nice if you could stream actual radio sources via broadcasting your own radio for your server
Yes, it’s possible and this is the main feature of this resource.
Check the __resource.lua file, it contains two example streams. You can replace these links by your own Webradio.
Thanks a lot for this awesome release, just tried it on my dev server using Linux FX server and it’s amazing;
But when using stream URLs like your example it works for about 1min30s then stops. Seems like a caching issue or so, if I restart the radio resource while server is up then music is back instantly. I have tried a lot of different stream url, same behavior everytime. Do you have any idea ?
Thanks a lot, I tried to fix it myself but unfortunately was not able to.
Thank you for your prompt response and support.
And btw its not 1:30min but exactly 2:00min and also surprising is the fact that I had users in production that get no cuts…
For me even on a winodws or linux fivem server; same result.
One quick option that you have and which will not be the best one would be to replace all readios by yours. Sorry for this dirty method
Otherwise you override all radios with empty ones.
(told you real dirty method )