That would be nice to try one day ...
Brian Lesser <[EMAIL PROTECTED]> wrote:
Yes, audio and video streaming seem to work. For example to play a stream:
private function play():void{
if(_inStream) _inStream.close();
// Create the stream:
_inStream = new NetStream(_nc);
// Setup the listeners:
_inStream.addEventListener(NetStatusEvent.NET_STATUS, netStatus);
_inStream.addEventListener(SecurityErrorEvent.SECURITY_ERROR,
netSecurityError);
// Play the stream and show the video:
_inStream.play(_streamName);
_video.attachNetStream(_inStream);
}
And to publish a stream:
private function publish():void{
if (_outStream ) _outStream.close();
_outStream = new NetStream(_nc);
_outStream.addEventListener(NetStatusEvent.NET_STATUS, netStatus);
_outStream.addEventListener(SecurityErrorEvent.SECURITY_ERROR,
netSecurityError);
// Capture video and publish it
_camera = Camera.getCamera();
if(_camera){
_camera.setMode(160, 120, 6, true);
_outStream.attachCamera(_camera);
_video.attachCamera(_camera);
}
_microphone = Microphone.getMicrophone();
if(_microphone){
_outStream.attachAudio(_microphone);
}
}
Yours truly,
-Brian
pk_wasp wrote:
>I want to build a simple audio conferencing Flex 2 (Beta 2) application
>(just people using their microphone) with Flash Media Server 2
>
>Does anyone have any examples/links/documentation to do this sort of
>thing? (if its possible)
>
>and is the microphone working with this Flash Player 8.5 now?
>
>searching through the archive found this:
>
>http://www.mail-archive.com/[email protected]/msg19222.html
>
>
>thanks
>
>
>
>
>
>
>--
>Flexcoders Mailing List
>FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
>Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
>Yahoo! Groups Links
>
>
>
>
>
>
>
>
--
______________________________________________________________________
Brian Lesser
Assistant Director, Teaching and Technology Support
Computing and Communications Services
Ryerson University
350 Victoria St.
Toronto, Ontario Phone: (416) 979-5000 ext. 6835
M5B 2K3 Fax: (416) 979-5220
Office: AB48D E-mail: [EMAIL PROTECTED]
(Enter through LB66) Web: http://www.ryerson.ca/~blesser
______________________________________________________________________
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

