0 Replies Latest reply on Apr 2, 2010 9:22 AM by HakkaMc

    NetStream via Stratus problem


      I can create a netstream connection to stream/publish something from webcam.

      Establish netGroup object is no prolem. But I have a problem with NetStream object.

      I read that firewall can do problems. But I tried turn my FW off but with no luck. Maybe my internet provider's FW do problems.


      Please is there a way how to recognize the problem?


      private const SERVER:String = "rtmfp://stratus.adobe.com/";

      private const DEVKEY:String = <my key from Adobe>;


      var nc:NetConnection = new NetConnection();

      nc.addEventListener(NetStatusEvent.NET_STATUS, function(event: NetStatusEvent):void{


           case "NetConnection.Connect.Success":         

                var groupspec:GroupSpecifier = new GroupSpecifier("g1");

                groupspec.serverChannelEnabled = true;

                groupspec.postingEnabled = true;

                groupspec.multicastEnabled = true;

                groupspec.routingEnabled = true;

                groupspec.objectReplicationEnabled = true;

                groupspec.serverChannelEnabled = true;         

                groupspec.peerToPeerDisabled = false;



                var ns:NetStream = new NetStream(nc, groupspec.groupspecWithAuthorizations());

                ns.addEventListener(NetStatusEvent.NET_STATUS, function(event:NetStatusEvent):void{

                     Alert.show("netstream event catched"); //here is a problem, I never get here



                netGroup = new NetGroup(nc, groupspec.groupspecWithAuthorizations());

                netGroup.addEventListener(NetStatusEvent.NET_STATUS, function(event:NetStatusEvent):void{

                     Alert.show("netGroup event catched"); //no problem, I can get here