Re: [flexcoders] Flex 2 and FMS 2 for audio conferencing application

2006-03-26 Thread Brian Lesser
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/flexcoders@yahoogroups.com/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 2K3Fax: (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/
 





Re: [flexcoders] Flex 2 and FMS 2 for audio conferencing application

2006-03-26 Thread dos dedos



Is it realistic to suggest that Flex 2 could be used (with minimal server side processing [e.g. just to work around flash-to-flash security restriction]) to build a point-to-point VoIP application? 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/flexcoders@yahoogroups.com/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.



  









Re: [flexcoders] Flex 2 and FMS 2 for audio conferencing application

2006-03-26 Thread Brian Lesser
Hi Dos,
Well, you could use Flash or Flex to make a simple IP-based audio 
system. Ofcourse, it will not be truly point-to-point in the sense that 
there are no swf-to-swf connections. All communications run through the 
Flash Media Server: swf-fms-swf. Consequently you still must pay the 
bandwidth costs used by all those connections and the audio flowing over 
them from/to the server.
For a reasonably secure system you will need to authenticate users 
attempting to connect to the server.
Yours truly,
-Brian

dos dedos wrote:

Is it realistic to suggest that Flex 2 could be used (with minimal server side 
processing [e.g. just to work around flash-to-flash security restriction]) to 
build a point-to-point VoIP application? 

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/flexcoders@yahoogroups.com/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 2K3Fax: (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 
 

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. 
 

-
 
 
 

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

  



-- 
__
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 2K3Fax: (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/
 




Re: [flexcoders] Flex 2 and FMS 2 for audio conferencing application

2006-03-26 Thread dos dedos



re bandwidth... not thinking of competing with Yahoo IM .. only considering for building nice looking, branded corporate 'productivity' applications that run inside the browser .. I assume Flex 2 (more than Flash, since it has the desired RIA features) is a good choice Thanks for info about the FMS pieceI should be buying Adobe stock :)Brian Lesser [EMAIL PROTECTED] wrote:Hi Dos, Well, you could use Flash or Flex to make a simple IP-based audio  system. Ofcourse, it will not be truly point-to-point in the sense that  there are no swf-to-swf connections. All communications run through the  Flash Media Server: swf-fms-swf. Consequently you still must pay the  bandwidth costs used by all those connections and the audio flowing over  them from/to the server. For a reasonably secure system you
 will need to authenticate users  attempting to connect to the server. Yours truly, -Brian  dos dedos wrote:  Is it realistic to suggest that Flex 2 could be used (with minimal server side processing [e.g. just to work around flash-to-flash security restriction]) to build a point-to-point VoIP application?   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,  -Brianpk_wasp wrote:I want to build a simple audio conferencing Flex 2 (Beta 2) application   (just people using their microphone) with Flash Media Server 2Does 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/flexcoders@yahoogroups.com/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   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.  -__ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around  http://mail.yahoo.com--  __ 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 __  
	
		Yahoo! Messenger with Voice. PC-to-Phone calls for ridiculously low rates.





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

[flexcoders] Flex 2 and FMS 2 for audio conferencing application

2006-03-25 Thread pk_wasp
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/flexcoders@yahoogroups.com/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

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