Flex :: Know If The User's Camera Is Broadcasting?
Feb 1, 2010
usually i do Camera.getCamera but when this method is called the user is prompted with a dialog box where he can choose to allow or to deny the application access to the camera, or he could not have a camera
how can the application now whether the camera is broadcasting ?
I have a video capture device on a machine. I have written a windows application to capture the video from this device. While capturing, if i try to broadcast using flash it does not connect. If i'm already broadcasting and then try to capture then my windows application does not get the capture pin of the device. So, flash seems to be taking the capture pin. Is there anyway to broadcast using the preview pin on the device so that i can capture using my application. Or is there way where i can split the capture pin and give one to my app and one to the broadcaster
When user first time log into site camera start the capturing and stream is saved in application folder with the streamname (straemname.flv). then user logout and then logged in then i have to append that stream in same straemname.flv file .By this code i have done that task
camera = Camera.getCamera(); camera.setQuality(0,80); camera.setMode(videoWidth,videoheight,15,true);camera.setLoopback(false); video.attachCamera(camera);ns.attachCamera(camera);ns.publish(stream, "append");
when user again logged in ,the video which is saved previously start playing,I dont want start that video.I just want to show camera control
From a Flash object, I would like to be able to detect the presence of a webcam that the user might grant access to, without actually asking the user whether they want to grant access. This is to streamline a large application that has extra features if a webcam exists — if there is a webcam, the application will present several dialogs that lead up to the normal cam-security prompt, but if the user doesn't have the hardware, I want to skip over them altogether. Requesting access to the cam before those dialogs won't make sense to the user.
It appears not to be possible to call Camera.getCamera() without the security prompt happening. Is there a workaround? (For instance, could I, perhaps, call getCamera in a hidden Flash object and inspect its return value, or does it block until the user acknowledges the security prompt?)
we would like to purchase Flash Media Interactive Server 3.5 to solve the following problem
1.Broadcast network internet lectures on a paid subscription,with the possibility user authentication.
2. Broadcast video and audio.
3. Broadcasting from several sources (1 camera, 2 camera, TV tuner, etc.)within a single stream with the possibility of the user to choose the viewing source, other sources at this time, you can view the preview.
4. The intended audience for 10 000 users and more. 5. Estimated flow rate of 1 megabit per second.
1. Is it possible for broadcasters to use a single server, or they need more? What configuration? 2. Does Flash Media Interactive Server 3.5 multicast? 3. How to make the system user authorization? Additional software, plug-ins? 4. How many users can simultaneously connect to the broadcast Flash Media Interactive Server 3.5 and how we calculate the bandwidth and outbound traffic?
I am capturing camera on flex for android using air 3.1,and found that the camera is only showing the a part of of actual camera video.When i view camera using normal camera application in android galaxy tab, it shows full camera area but when i am capturing the camera in flex its showing only the center area for it.I tried using setMode to set the resolution, but its not of any use.Is there any way to get full camera area captured inside flex using camera.getCamera ?
Im working on an app with flash and zinc which requires the use of Webcam...
Now my problem is whenever i run my program it ask for permission that "local is requesting access to your camera and microphone".. well i know that if i give remeber in settings tab it wont ask again.. but my app will be used by many clients where i dont want to show it is made with flash... so can anyone provide solution so that ther permission is override and to show the cam..
I am developing an application running in Flash Player. The applicatiosn requestes access to the camera and/or microphone available on user computer.Is there a way in the application I prevent users from seeing this question? i.e. without having user to change his/her Adobe Flash Player setting?
A friend of mine asked for a simple program. Input: Coordinates of some points, spheres, planes etc. (from an excel document (strictly) ) Output: A 3D view of the input which the user can move the camera. The questions is, how can I do that easiest way. I have experience in C++, C#, Flash (AS), Java
I am having a problem with correctly detecting a user's camera settings.
If the user has selected "allow" and "remember", then the camera.muted setting is false (not muted)
However, if the user has selected "deny" and "remember", then the camera.muted setting is true. (camera has been muted by the user)
BUT, if the user hasn't selected anything and the "remember" checkbox is unchecked, the camera.muted setting is ALSO TRUE (the camera is again muted, but it's only because someone hasn't "allowed" the camera yet)
Is there a way to differentiate between when a user has chosen to deny a camera forever for a particular site (by checking the "remember" check box) OR when they just haven't allowed the camera in the first place?
Im currently working on a piece for my final year project that takes a webcam and has an old movie effect over it in as3. I have this all working but what I need to know asap though is, Is there a way that i could put a black box layer over it that when the user walks in front of the camera that the black box would disapear. The code I have in the actions panel for the webcam is:
I request my user from mic and camera setting on my website with Flash, but the remember checkbox does not show, so every time my user logs in he's requested once again for permissions, how can I make the checkbox show to avoid this?
I have a service that uses computer webcam via Flash. Now I'd like to develop an Android optimized version of the service using HTML5 + Flash and then use some HTML5 wrapper to get an app.
I wonder if it's possible to use the same ability of Flash that provides an access to user's phone camera (frontal) on the Android (tablet pcs, smart phones). I know Android supports Flash since 2.2, but I failed to find any information on hardware access.
currently I use the following workflow for Live video streaming.I have FMLE on a computer streaming the Video feed to my FMS.I currenlty use Dreamweaver to create window with a few instances of a video window and one of the windows is configured to rtmp to my server and the stream name of the stream I have setup in FMLE.This then streams to one of the windows.I then assign a different Stream name to the other windows.
I send an FMLE client to a user in the locations that want to have a video presence on the webpage.I send them instructions and running FMLE and the parameters to use to get their camera up and running.This works fine to a point.Most of the users are not technically minded and so often this leads to issues and delays to get these things to work.
I want to move on and improve this flow.I want to create the video instances on the page where:Below each video window is a text input field where a user can type in their name which will be used as the stream name.Below each video window is a button that the user clicks to connect their camera automatically without having to install FMLE.Once the video feed is running, only that user can click the button again to disconnect it. ( The button changes to "Stop Broadcast" etc).
I have looked at the structure of Ustream for example, and this seems to be the method they use as you can download the XML file of your channe,l and the RTMP URL and stream name can be copied and then used directly in FMLE and you can stream with more control of your camera that way.
Usually Adobe Flash applications can access any usb-webcam.I have a USB camera for microscopes which understands TWAIN and DirectShow.Is there a possibility to access the video data from this camera with flash?
Just want to be sure I am broadcasting my p2p stream correctly. I cannot play the stream so I want to make sure I am broadcasting correctly first then I will move on to worrying about playing it.
I created a netconnection. nc.connect("rtmfp://blah/multicast"); onNetStatus I check for connection success. On connection success get my webcam and audio and attach it to my stage for local viewing.
When I click Publish it makes a netgroup with the nc. On netgroup success I create a netstream with the nc.I attach the camera and audio to the netstream. On netstream success I publish. I get publish success.
Does that mean I am publishing correctly? I have no way of conveniently viewing the stream. When I try to make a new netconnection, netstream, and try play it doesn't work. I don't know if it is because it refuses to play my own stream or if I am not publishing correctly. It does say I am publishing.
When user first time log into site camera start the capturing and stream is saved in application folder with the streamname(straemname.flv). then user logout and then logged in then i have to append that stream in same straemname.flv filey this code i have done that task
camera = Camera.getCamera(); camera.setQuality(0,80); camera.setMode(videoWidth,videoheight,15,true);camera.setLoopback(false);
I need to dispatch an event from the timeline of an embedded swf that is listened for in the main swf. So far, I successfully have the event being dispatched using the method outlined here [URL]. I'm just having trouble figuring out how to build the listener in the main swf.
I have a flex mobile application that I am working on that I am having issues with selecting an image from roll/taking a picture. My application is not tabbed, however one part of it contains a Tabbed View Navigator with tabs across the bottom. Within one of those tabs, I have the ability to upload an image to a webservice that I have created. However, when I select an image or take the picture, it pops back out to the initial splash screen and the application restarts. If I use the component standalone (outside of the tabbed view navigator) it selects the image and uploads without any problem.
We want to develop a broadcasting application, there would be a main broadcaster on video, with a lot of chatters. There would also be some chatters going on webcam (6 max). I'm still checking out NetGroups, IP Multicast, RTMFP Multicast, Fusion etc. but I am still lost. I also want to make sure that people who can't support RTMFP can be a part of the program by using RTMP, if that's possible right now to combine RTMP/RTMFP in such a big broadcasting application.
I am running a website similar to Ustream and Justin and i am using Linux dedicated server, that have FMS 3.5 Installed. On My site registered broadcasters can stream their live video.
I want to know how can i limit the broadcasters so that they cannot broadcast a live video more then 512bitrate in their encoder.
currently any broadcaster can broadcast a live channel at any bitrate he wants and that is consuming too much of my server's bandwidth.
I want to get a feed from my camera and to pass it to the receive function. Also in flash builder(in design mode) how do I put elements so they can play a camera feed?? Because as it seems VideoDisplay just doesn't work
public function receive(???:???):void{ //othercam is a graphic element(VideoDisplay) othercam.??? = ????; }
Another question about the application I'm making. So when the user signs up, he needs to take a picture. I want to do this without using the cameraUI. I followed a sort of tutorial but the application doesn't run. I don't get errors, but the camera doesn't show. Here is what I did:
I am making an application that plays the video stream from the user's local system (both Windows and Mac). I use the Camera.getCamera() method and in turn Camera.names to get a list of camera attached with the system.
Unfortunately, if the camera is already in use by another application, say a desktop application on user's system, the browser is crashed. Is there any way that I can detect if a specific camera from the list of available camera is already in use by any other application?
I created a flex application that snapshot a picture of the webcam. Im trying now to save every snapshop and display it directly when the image has been capture. But I cant seems to understand how to. I want the images to be display in the Thumbnail box.
I'm trying to create a FMS application that is broadcasting some data across connected clients using SharedObject. I want only the Application to be granted to set SharedObject properties.
I'm using Flash Builder and created a spark-application Flex project that will stream video from the local camera. If I use mx.controls.VideoDisplay; there is no problem since it has attachCamera(camera) method. But Spark's VideoDisplay component does not have that method. I know I can use mx controls inside a Spark app but I want to know:
What is the real difference between spark.components.VideoDisplay and mx.controls.VideoDisplay?How do I attach camera to spark. components.VideoDisplay?Is there any advantages if I go with spark (since it's newer to mx library)?
EDIT: In the documentation this is mentioned: "Starting with Flex 4.0, Adobe recommends that you use the spark.components.VideoPlayer class as an alternative to this class. (mx.controls.VideoDisplay)"
I want to implement an flex application using actionscript 3: with the camera and the virture buttons(like a image) in the camera, one can move his hand to pass over the virture button field in order to fire the button. Now my solution is following this way: capture the button field in every frame to get a bitmapdata, and calculate the gray-scale summation of the bitmapdata, if the difference between the two frames is greater than a given value, then fire the button. Actually, it could work, but it is very sensible to the lighting condition of the background, worse, when there are more than one buttons, people often fire the button by mistake.