Skip to main content
July 21, 2012
Question

how fms manage netGroup?

  • July 21, 2012
  • 1 reply
  • 1390 views

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 has been closed for replies.

1 reply

July 24, 2012

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

July 24, 2012

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?

July 24, 2012

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.