Question
Capturing webcam images
Hi,
I have flash working with flash media server to record a webcam. There are two things I also need the application to do which it currently doesn't.
1) How do you capture a still image from the webcam? At the moment im using this line of code to record:
publish_ns.publish("allAboutMe + 1", "record");
2) How do you show what is being recorded as you record?, at present it records with a blank screen and you cant see the results until you play it back. This is the code used at the moment.
var my_nc:NetConnection = new NetConnection();
my_nc.connect("rtmp://localhost/allAboutMe");
var publish_ns:NetStream = new NetStream(my_nc);
publish_ns.attachVideo(Camera.get());
publish_ns.attachAudio(Microphone.get());
publish_ns.publish("allAboutMe + 1", "record");
thanks
Gavin
I have flash working with flash media server to record a webcam. There are two things I also need the application to do which it currently doesn't.
1) How do you capture a still image from the webcam? At the moment im using this line of code to record:
publish_ns.publish("allAboutMe + 1", "record");
2) How do you show what is being recorded as you record?, at present it records with a blank screen and you cant see the results until you play it back. This is the code used at the moment.
var my_nc:NetConnection = new NetConnection();
my_nc.connect("rtmp://localhost/allAboutMe");
var publish_ns:NetStream = new NetStream(my_nc);
publish_ns.attachVideo(Camera.get());
publish_ns.attachAudio(Microphone.get());
publish_ns.publish("allAboutMe + 1", "record");
thanks
Gavin