Skip to main content
Inspiring
January 18, 2007
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?
    This topic is closed to new replies. Start a new post to keep the conversation going.

    1 reply

    oscar7878Author
    Inspiring
    January 18, 2007
    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
    Translate