cant streamvideo from one file another one.

cant streamvideo from one file another one.

Post by oscmeji » Sat, 20 Jan 2007 03:38:14


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?
 
 
 

cant streamvideo from one file another one.

Post by oscmeji » Sat, 20 Jan 2007 03:47:23

In the FMS console - manage server - server log appears this:

Thu 10:45:41 AM: Connection rejected by server. Reason : [ Server.Reject ] :
Adaptor: _defaultRoot_, VHost: _defaultVHost_, App: imApp/_definst_,
Application debugging not permitted, allowDebug is false