PDA

Click to See Complete Forum and Search --> : webcam chat



webchaos69
10-24-2002, 06:38 AM
this is my code:

stop();
client_nc = new NetConnection();
client_nc.connect("rtmp://webchaos.dnip.net/cam1");
cam_stream = new NetStream(client_nc);
cam_stream.attachVideo(camera.get());
cam_stream.publish("user");
cam_stream2 = new NetStream(client_nc);
cam_stream2.play("user");
feed.attachVideo(cam_stream2);

this will broadcast the webcam of the 1st person to connect. everyone else that connects after will see person 1s webcam. how can i create a video box for each person that connects?

psychlonex
10-28-2002, 01:24 PM
You can either use the components (video conference, or av presence) or your own movieclip with the video object inside it.

If you just want a simple video conference, I'd say just use the video conference component. If not, you'll basically be rewriting the code already done for you in said component. If you want it to do something much different than what the component does, you'll want to probably write your own from scratch. I can probably help, but need more info on what you want it to do if that's the case.

hope that helps!

Psx

webchaos69
10-28-2002, 09:24 PM
can u give me your email or messanger contact so we can talk more abou this. i have a few questions.