all groups > macromedia flash flashcom > september 2005 >
You're in the

macromedia flash flashcom

group:

Multiple Video streamings into one flash


Re: Multiple Video streamings into one flash flash-hero
9/23/2005 12:00:00 AM
macromedia flash flashcom: It is very simple. Use two netstreams inside the same netconnection. The two
cams must save data to the same FCSproject, but use different flvnames. Then
just read the two netstreams into two videos. Like this:
So your two cams must use names streamName and streamName1.

ns = new NetStream(nc);
ns1 = new NetStream(nc);
//Attach this netstream to our video element on screen
v1_mc.my_video.attachVideo(ns);
v2_mc.my_video.attachVideo(ns1);
//now play the video the user choosed
ns.play(streamName);
ns1.play(streamName1);
Multiple Video streamings into one flash oleung
9/23/2005 8:01:38 AM
Hi all,

I've got a question. Is there anyway to make two video streamings go into one
flash screen with audio.
For example, I have two people who are doing interview and need to broadcast
out.
We use two web cams to caputre each of them.

Thanks.
Oliver
AddThis Social Bookmark Button