Posts: 100
Threads: 15
Joined: Dec 2017
Reputation:
0
Is there any way to convert a song or track to the "PlayerPlaySound" function? It would be great, because in the servers there is a lot of lag to call the link of a song.
Posts: 180
Threads: 22
Joined: Dec 2015
Reputation:
0
I don't think that's possible.
Posts: 1,176
Threads: 2
Joined: Nov 2012
Reputation:
0
that's not possible. PlayerPlaySound is called from player's audio bank.
Posts: 6,242
Threads: 8
Joined: Jun 2008
If it's lagging them out they either need a better connection, you need a better host for the mp3, or you need a lower bitrate MP3.
None of this would be fixed by anything in the script itself.
Posts: 1,801
Threads: 21
Joined: Mar 2008
Reputation:
0
The Audio Plugin is probably the only real alternative to Audio Streaming. For people who do not have it you can still use Audio Streams.
Theoretically you could offer the Sound Bank Files to download but let's be honest - noone will download that.
Depending on your playerbase it may also make sense to have multiple hosts for the Streams in different Countries, so you can use the closest host for each player. That will reduce the delay before a sound starts to play (unless it's the player's connection).
Posts: 6,242
Threads: 8
Joined: Jun 2008
Actually, if it's the gap before it starts streaming, I now find I'm noticing that in a script I have currently. Takes about 4-5 seconds + for it to start up.