yeah, the problem with allow the user to pick from two camera views, is
that you have to have two video streams going out at the same time,
which requires two connections to the server and twice as much
bandwidth.

the following functions switch between cameras

function camera1()
{
        
        publishStream.attachVideo(Camera.get(0));
}

function camera2()
{
        
        publishStream.attachVideo(Camera.get(1));
}

You could then call these functions with a button press:

//call the camera1 function when the user presses buttton 1
button1.onRelease = camera1;

//call the camera2 function when the user presses buttton 2
button2.onRelease = camera2

that is a very simple example but hopefully it conveys how simple it
would be.

mike chambers

[EMAIL PROTECTED]

> -----Original Message-----
> From: Rick Faircloth [mailto:Rick@;GoLibertyOnline.com] 
> Sent: Wednesday, November 13, 2002 8:30 PM
> To: CF-Talk
> Subject: RE: Flash Com and CFUG meeting
> Importance: High
> 
> 
> Cool!
> 
> You're saying, let the "Flashcomm Producer" whose
> running the setup, switch the camera views within the
> Flash Interface, as opposed to offering two views to viewers
> to choose from?
> 
> Rick
> 
> -----Original Message-----
> From: Mike Chambers [mailto:mchamber@;macromedia.com]
> Sent: Wednesday, November 13, 2002 8:03 PM
> To: CF-Talk
> Subject: RE: Flash Com and CFUG meeting
> 
> 
> > -----Original Message-----
> > From: Rick Faircloth [mailto:Rick@;GoLibertyOnline.com]
> 
> > Some consideration should be given to using multiple 
> cameras, as well.
> > A basic switcher for a few bucks could allow instant 
> switching between
> > perspectives, greatly increasing viewing interest.  Not costly, or
> > difficult.
> >
> 
> fyi
> 
> if you had two camera's pluged into your laptop, then this 
> would be very
> simple to do. you would just use ActionScript to switch between the
> cameras.
> 
> mike chambers
> 
> [EMAIL PROTECTED]
> 
> 
> 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

Reply via email to