Skip to main content
Jul 21, 2012 3:10 AM UTC
Question

how fms manage netGroup?

i just not understand how fms manage netGroup? i try to find in multicast application but none,its just republish use rtmfp, any one can tell me how do that?

  when client do

nc = new NetConnection();

nc.addEventListener(NetStatusEvent.NET_STATUS,onNetStatus);

nc.conncet('rtmfp://192.168.1.10/multicast');

nc.client = this;

protected function onNetStatus(event:NetStatusEvent):void

{

     trace(event.info.code);

     switch(event.info.code)

     {

          case 'NetConnection.Connect.Success':

                ns= new NetStream(nc,groupSpec);

                ns.addEventListener(NetStatusEvent.NET_STATUS,onNetStatus);

                break;

          case 'NetStream.Connect.Success':

                 ns.attachCamera(Camera.getCamera());

                 ns.publish('p2pstream');

     }

}

so ,when netStream publish stream ,how server side do, how server get groupSpec? how when other peer

connect the same group, sever join that peer to group?

This topic is closed to new replies. Start a new post to keep the conversation going.

8 replies

Jul 24, 2012 7:13 AM UTC

You can use multicast configurator tool to generate groupSpec. The tool is under tools\multicast\configurator of fms root installation directory.

Translate
Jul 24, 2012 8:50 AM UTC

i try ,but only when i use the same computer everthing is ok, LAN and WLAN ,its failed , the netStream event code is NetStream.Play.Start,NetStream.Play.ReSet,i double the stream publish and player not the same group ,so i ask this question?

Translate
Jul 24, 2012 9:02 AM UTC

RTMFP works on top of UDP and generally most firewall block UDP. So for RTMFP to work inside a LAN, the UDP ports should be open and not blocked.

Translate