Every time when I try to play mp3 audio on my whole server (for trolling obviously.) the audio cuts after a while. And yes, its an mp3 files and I am using a FREE file hosting service (zaix.ru)
When I play the mp3 on my whole server from the url using sound.PlayURL the audio cuts after like 10-30 seconds.
// This is my code by the way.
BroadcastLua([[sound.PlayURL( "http://d.zaix.ru/8PJ5.mp3", "mono", function()end )]])
So yeah, if you know how to fix this. Please tell me.
Try using a different file hosting, try actually starting the sound stream (see wiki page for sound.PlayURL), and perhaps dont use BroadcastLua and use net messages.
Thank you, still cuts but made the audio last longer. It's exactly what I needed, long lasting mp3 audio
This is what I use now.
for k,v in pairs(player.GetAll()) do
v:SendLua("sound.PlayURL('http://d.zaix.ru/8QPC.mp3', '', function()end )")
end
Sorry, you need to Log In to post a reply to this thread.