Question
cant streamvideo from one file another one.
HI,
Im trying to stream video from one file to another. this is the code for one of those files:
var live_cam:Camera = Camera.get();
myVideoOut.attachVideo(live_cam);
var out_ns:NetStream = new NetStream(_root.ncBase);
out_ns.attachAudio(live_mic);
out_ns.attachVideo(live_cam);
out_ns.publish("streamB", "live");
//Stream In
var in_ns:NetStream = new NetStream(_root.ncBase);
myVideoIn.attachVideo(in_ns);
in_ns.play("streamA");
The other file just has inverted "streamA" and "streamB".
In the FMS console i can see streamA and streamB but not the automatic generated Streams.
i can not stream the video from one file to another one. I think that is the problem. My code is inside a movieclip, same level with the video object and i call the netConnection using _root.nc.
any idea why can it be happening?
Im trying to stream video from one file to another. this is the code for one of those files:
var live_cam:Camera = Camera.get();
myVideoOut.attachVideo(live_cam);
var out_ns:NetStream = new NetStream(_root.ncBase);
out_ns.attachAudio(live_mic);
out_ns.attachVideo(live_cam);
out_ns.publish("streamB", "live");
//Stream In
var in_ns:NetStream = new NetStream(_root.ncBase);
myVideoIn.attachVideo(in_ns);
in_ns.play("streamA");
The other file just has inverted "streamA" and "streamB".
In the FMS console i can see streamA and streamB but not the automatic generated Streams.
i can not stream the video from one file to another one. I think that is the problem. My code is inside a movieclip, same level with the video object and i call the netConnection using _root.nc.
any idea why can it be happening?
