Groups | Blog | Home
all groups > macromedia flash flashcom > june 2005 >

macromedia flash flashcom : More than one video on a page


CAXOnline
6/30/2005 12:09:10 AM
Hi,

I have a requirement to develop an application having 4 active webcams
simultaneous on same page. We are using Flash communication server and flash /
PHP.

Is it possible to have several instances or simultaneous sessions?
I will appreciate recommendations to implement it.

Thank you,

Carlos
_Maulik
7/18/2005 6:58:04 AM
CAXOnline
7/26/2005 12:00:00 AM
Hi,

It will have different videos. Each one from different source (webcams).

What do you think is the best way to implement. Do you know of any samples on the web?

Bluefd
7/27/2005 12:00:00 AM
Welp, my question is the following: are the 4 webcams from different sources
(different pc's) or are they attached to the same pc?
in the case they are attached to the same pc here's your solution://Camera 1
video1 = Camera.get(0);
src1.attachVideo(vidsrc);
//Camera 2
video2 = Camera.get(1);
src2.attachVideo(video2);
And so on to the 4th cam Note that for the Camera.get parameter the numbering
starts from 0! It selects the source cam. To get the right order, right click
one swf, select the webcam tab and look at the order in the dropdown list. The
first cam has the 0 id, the second the 2 id, etc.
src1 and src2 are video instances.
Happy codding
_Maulik
8/6/2005 7:33:28 PM
AddThis Social Bookmark Button