Hey Mark,

Camera.getCamera will only work for physically connected devices to the machine 
where the Flash app is running - like a USB webcam.

What you want to do is access the IP camera via a StageWebView component - 
basically a webkit browser. Just point the component at the URL for the camera.

http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/media/StageWebView.html

That will display the camera output as it would do in a standard browser.

Hope that helps!

Dave.

On 11 Jan 2012, at 19:42, markflex2007 wrote:

> Hi,
> 
> I have a ip camera and it is hard to access it with Flex app directly now.
> 
> I plan to the following things.
> 
> 1. install virtual camera software in local pc.
> 2. use virtual camera access the ip camera.
> 3. use Flex access Virtual camera.
> 
> Do you think if it is possible. I am not sure if the following code can work 
> with virtual camera. any idea?
> 
> var cam:Camera = Camera.getCamera();
> 
> Thanks for help
> 
> Mark
> 
> --- In flexcoders@yahoogroups.com, Fernando Lobos <fernandolobos@...> wrote:
> >
> > Flash media server is your best friend
> > 
> > On Wed, Jan 11, 2012 at 4:14 PM, markflex2007 <markflex2007@...>wrote:
> > 
> > > **
> > >
> > >
> > > Is someone know how to use flex access virtual camera? Thanks
> > >
> > > Mark
> > >
> > > --- In flexcoders@yahoogroups.com, "Zuberul Islam" <zuberul@> wrote:
> > > >
> > > > hi all,
> > > >
> > > > the problem isnt solved yet. my virtual camera works well with all
> > > > other applications. but flex crashes to detect them.
> > > >
> > > > whats the property that flex searches for ? or is there any special
> > > > interface property that must be preset ??
> > > >
> > > > Thanks in Advance.
> > > >
> > > >
> > > > --- In flexcoders@yahoogroups.com, "Zuberul Islam" <zuberul@>
> > > > wrote:
> > > > >
> > > > > Hello All,
> > > > >
> > > > > i have written a virtual webcam application as a directshow filter &
> > > > > have registered it in windows.
> > > > >
> > > > > from flex when i call Camera.names the flex application crashes.
> > > > >
> > > > > but when the virtual camera's are unregistered the application runs
> > > > > well.
> > > > >
> > > > > so what's the problem with these virtual cameras ??
> > > > >
> > > > > Thanks.
> > > > >
> > > >
> > >
> > > 
> > >
> >
> 
> 

Reply via email to