p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   C# (http://p2p.wrox.com/forumdisplay.php?f=22)
-   -   directsound to play wav file on clint brouser (http://p2p.wrox.com/showthread.php?t=67672)

arafat.eajaz April 25th, 2008 11:45 AM

directsound to play wav file on clint brouser
 
i want to ask can i code a wav file player on my website using directsound playsound.....i am working on website provides live streaming over internet.

arafatalone

samjudson April 25th, 2008 04:16 PM

Silverlight.

/- Sam Judson : Wrox Technical Editor -/

arafat.eajaz April 26th, 2008 04:30 AM

thanks for ur reply sir

i want to ask does silverlight support wav format,since i have gone through its documentation it says support for wma,mp3 but it didn't mention wav format.....

i want to explain u my whole prob.
i have followed following steps.....

1>capture sound data using directcapture in wav format its default format

2>encode the data in base64 format and write it in xml file so that it could be send over internet.

3>parse the xml file and decode the data at client end.

4>feed this data in player buffer at client end to be played there.

now the problem is with step 4 as flash player does not support wav format so i need some player on client side which could play wav data there for me...

will be really greatfull to the replyer...

arafatalone

samjudson April 26th, 2008 05:20 PM

Doesn't sound much like my definition of 'live streaming'.

Have you thought that perhaps WAV might not be your best format, and that all these things not supporting wav is maybe hinting at that.

/- Sam Judson : Wrox Technical Editor -/

arafat.eajaz April 27th, 2008 02:38 AM

i actually did'nt do much feasiblity study in the beggining and now i am stuck... u r right but now i have no time to change the complete logic as it is my final year project and the date of submission is very close.....

ne ways thank a lot for ur support..

one last favour if u could do that.....how u approach live streaming
what will b the step that u might followed...

arafatalone

samjudson April 27th, 2008 04:25 AM

I've never done live streaming, only been an end user - so I've used things like Flash, Silverlight, Windows Media Player or Real Player. The format has usually been something like ASF or WMA (for windows media player), RAM (real format) or similar.

/- Sam Judson : Wrox Technical Editor -/


All times are GMT -4. The time now is 01:17 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.