Wirelessly Stream Audio?

Data that travels over the air and how to protect (or decipher) it

Wirelessly Stream Audio?

Post by hackington on Mon May 09, 2011 1:32 pm
([msg=57180]see Wirelessly Stream Audio?[/msg])

Hey guys I have a hard drive connected to my router. I can access the files on this computer anywhere on the network (specifically audio .mp3/.wav files) I can choose the song I want and play it straight away.

Using the internet (in a friends house) I can dial in my IP address and log into these files. I can see all my audio files. I can download them and play them, however I can not STREAM these files :(

I want to be able to have a script/application that allows the user to see all these files and choose the files and stream the audio. I was wondering is there anyway I can write a script and embed it on a website that allows the user to stream (not download these files) I began writing some code for this. I can download the files but can't stream them.

If I click the URL: http://xx.xxx.xxx.xx/shares/usb/Pete/x/ ... ne_Day.mp3

I get the option to download/play the file. I want to embed this into my website so It can be streamed, Some simple testing using:

<embed src="http://xx.xxx.xxx.xx/shares/usb/Pete/x/%26ME_One_Day.mp3"
width="140" height="40" autostart="false" loop="FALSE">
</embed>

It won't play it. But if I just put a link to the file it's self it will download and play properly.

------------------------

Anyone know what I am doing wrong?

Thanks guys!
hackington
New User
New User
 
Posts: 8
Joined: Wed May 04, 2011 5:11 pm
Blog: View Blog (0)


Re: Wirelessly Stream Audio?

Post by Goatboy on Mon May 09, 2011 3:51 pm
([msg=57183]see Re: Wirelessly Stream Audio?[/msg])

You'll need a streaming service to do this. I'd suggest something like Icecast.
Assume that everything I say is or could be a lie.
1UHQ15HqBRZFykqx7mKHpYroxanLjJcUk
User avatar
Goatboy
Expert
Expert
 
Posts: 2825
Joined: Mon Jul 07, 2008 9:35 pm
Blog: View Blog (0)


Re: Wirelessly Stream Audio?

Post by hackington on Tue May 10, 2011 4:11 pm
([msg=57256]see Re: Wirelessly Stream Audio?[/msg])

hey thanks for the reply, I got it:

Code: Select all
<embed type="application/x-shockwave-flash" flashvars="audioUrl=" src="http://www.google.com/reader/ui/3523697345-audio-player.swf" width="600" height="27" quality="best">
hackington
New User
New User
 
Posts: 8
Joined: Wed May 04, 2011 5:11 pm
Blog: View Blog (0)



Return to Networking

Who is online

Users browsing this forum: No registered users and 0 guests