Link to home
Create AccountLog in
Avatar of justin_smith
justin_smithFlag for Australia

asked on

stream wav files in ASP.Net

How can i stream wav files in file server in a ASP.page...

I also would like to make it useable in most browser scenarios and players..
If not i can target media player...


Are there any controls?

I will need to dynamically update the playlist based on the activity on the DB

Avatar of RobertNZana
RobertNZana
Flag of United States of America image

Cant you just have a direct link from the page to the WAV file and let the browser handle it from there?
Avatar of justin_smith

ASKER

Robert,

The file server is not exposed to the web...

And since some of the files are pretty big, i guess streaming is the way to go :-)
I'm not sure what you mean by that.  The server that has the WAV files are not "exposed to the web"?  If not, how do you expect others to be able to stream or download it?  Am I misunderstanding something?  Thanks.
ok .. this is how it is setup...

say the web server has ip 192.168.1.2 and a public IP hence accessed through web url
file server has ip of 192.168.1.3

these two can talk to each other...
isnt it possible to access the files via the public ip when doing streaming ? may be i am wrong and stupid here..
-------------------------------------------------
At this point i am happy to do any streaming with wmplayer if it is easy to implement..

Whats important is that the playlist should be updated very often...

What i would ideally like is this..
do a gridview ..
in the gridview i will have all meta info about the file to be played pulled from the DB.. one column will have the functionality to play the file.. ideally i like the user to be able to stream the file by just a click of a button without navigating away from the page.. (i have seen pages where a mini control panel of wmplayer is embedded into the page with play stop and pause button, etc)  the reason for streaming is that user doesnt have the whole file if the dont like to listen.. they should just stop if they are not happy about the content in the file...

i hope i am a little clearer this time...

thanks
ASKER CERTIFIED SOLUTION
Avatar of RobertNZana
RobertNZana
Flag of United States of America image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Will get back if have any issues with another thread :-)