Hello,
I’m trying to stream local (yes on client pc) mp3 files using actionscript 3 and adobe air runtime.
Scenario:
1: Create new sound object and load an mp3.
2: connect to the stream server ( red5 or flash media server ) and create new stream.
3: attach microphone to the stream ( used only when the client wants to say something ) (default muted ).
4: broadcast the loaded sound just like NetStream.attachAudio(mic:Microphone) would.
Everything works just fine until i get to the 4th step (broadcast sound object) since neither as3 nor adobe air seem to have this feature implemented.
I’ve tried using the NetStream.attachAudio(soundObject) that results in a conversion error stating that it cannot convert sound object to microphone object.
Maby extending the NetStream class to support attaching sound objects would be the answer here but since it`s actual sourcecode is closed this does not seem dooable.
Or maby a sound object to microphone object converter ?
The application will run only as a desktop application using the AIR 1.0 runtime ( win / osx ) so cpu consumption related to browser usage is irrelevant.
Yes i know Flash Media Server can do this with server stored mp3 / flv files… my app must be able to broadcast local files.
I cannot force my users to have 2 soundcards in their pc`s just to use this application
- 1st for the actual microphone
- and 2nd ( jack from sndcard 1 sound output -> to snd card 2 microphone input jack ).
maby an emulated sound output -> microphone driver exists?
Any thoughts / ideas on the issue are grately apriciated.
Thank you for your time,
Micky.