SA-MP Forums Archive
Audio stream not playing? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Audio stream not playing? (/showthread.php?tid=575848)



Audio stream not playing? - Stupid - 30.05.2015

I've been trying to fix this forever.. but I can't!!!

So, I put a playaudiostream code in my onplayerconnect
(to be specific, PlayAudioStreamForPlayer(playerid, "http://yp.shoutcast.com/sbin/tunein-station.pls?id=1281016")

but whenever I connect, the lil' green thing shows up, but no music is played.
It's nothing to do with radio volume, because other "playaudiostreamforplayer"'s in the script work perfectly
fine, like car radio, but for some reason this wont?

I also tried it with various links, even some from pre-existing scripts that work, and they all fail to provide
sound?


Re: Audio stream not playing? - J0sh... - 30.05.2015

Is your GTA Radio sound all the way down? If it is turn it up.


Re: Audio stream not playing? - Stupid - 30.05.2015

Quote:
Originally Posted by Jamester
Посмотреть сообщение
Is your GTA Radio sound all the way down? If it is turn it up.
My GTA radio is all the way up =/


Re: Audio stream not playing? - J0sh... - 30.05.2015

Hmmm, can you confirm the actual url is correct?


Re: Audio stream not playing? - Stupid - 30.05.2015

100% correct. Tried it with 5 different urls from different scripts (in which playaudiostream did work), same results


Re: Audio stream not playing? - IceBilizard - 30.05.2015

its supports the .mp3 url format the song url must have .mp3 in last without spaces as its in original link.