I found AzuraCast but it seems that it doesn’t work wit FireFox and Safari, but only with chrome to listen to music, and the DJ is a bit weird to use. I also found BottledRadio but have no experience on how it works. Any other one you may know of or can advise how to solve/work with the ones above?
Depending on what you need there is actually a long running open-source professional radio station (as in real FM radio, but also internet streaming) software called Airtime.
The original company developing it dropped support a while ago, but a fork called Libretime lives on.
Probably overkill for running an internet stream though.