Click to See Complete Forum and Search --> : audio streaming


fawn
10-07-2003, 07:31 AM
I have two servers, one of which allows audio streaming in or out and the other only allows streaming audio in. I would like to store the audio files on the first server and play them from the second server.

A present I use embed to play the music on either server using the following code:

<embed SRC="music/audiofile.wma"
AUTOSTART="false" VOLUME="100"
WIDTH="300" HEIGHT="45"
LOOP="true">


This requires that the audio file to be saved on the particular server where the sound will be played. How can I change this code to stream the sound from one server to the other?

Robert Wellock
10-07-2003, 12:11 PM
Not sure with *.wma format but the *.mp3 you can use the *.m3u shortcut link I assume with *.wma there is an similar method so on server 2, you use a full path http://www.mysite1.com/musicfile.wma

fawn
10-07-2003, 05:11 PM
wma is audio format by mircrosoft just compressed without loss of quality.

I take it you mean to use this code:
<embed SRC="http/mydomain.com/music/audiofile.wma"
AUTOSTART="false" VOLUME="100"
WIDTH="300" HEIGHT="45"
LOOP="true">

I have tried that and it does not work. The embed seems to be the problem, but if it is removed then nothing will show on the webpage

Still open to suggestions Thank You

Robert Wellock
10-08-2003, 10:23 AM
I was thinking of *.asf and *.asx actually you might have to create a Windows Media Metafile - if you require the stream rather than just a download link - I assume you will be using the Windows Media Encoder.