SA-MP Forums Archive
How can I stream local audio files? eg: in scriptfiles folder - 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: How can I stream local audio files? eg: in scriptfiles folder (/showthread.php?tid=302323)



How can I stream local audio files? eg: in scriptfiles folder - Smurf[SMURF] - 08.12.2011

Same as the title, could someone please tell me how I can stream audio files from my computer -> in game?
Is it even possible?
Thanks


Re: How can I stream local audio files? eg: in scriptfiles folder - JamesC - 08.12.2011

Create a web server using Wamp / Xampp or upload the files to an existing web server.


Re: How can I stream local audio files? eg: in scriptfiles folder - System64 - 08.12.2011

Nope, you can't exchange files to/with server!


Re: How can I stream local audio files? eg: in scriptfiles folder - Smurf[SMURF] - 08.12.2011

Thanks ******, if I wanted to stream a .mp3 file from the scriptfiles folder, would it be possible?
I'm really lost with that "VirtualHost" stuff, could you please give me an example of it being used?
Thanks man, appreciated


Re: How can I stream local audio files? eg: in scriptfiles folder - Calgon - 08.12.2011

The "virtualhost stuff" needs to go in to your Apache config, you need Apache first before you can do anything with its configuration files.

Apache is a web server. You'll need admin/root priveleges over your server to install it, if it's not installed already. Download it from here.

And yes, ****** already said it's possible and so has JamesC, but ******' method makes more sense.


Re: How can I stream local audio files? eg: in scriptfiles folder - Smurf[SMURF] - 08.12.2011

Which version (project) do I download it for? Stuck on a page with like 100 links (http://apache.deathculture.net//)


Re: How can I stream local audio files? eg: in scriptfiles folder - Calgon - 08.12.2011

Sorry I should've been more specific: http://httpd.apache.org/