cool thanks, will give this a go.


--- In [email protected], 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
> 
______________________________________________________________________
>







--
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

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to