Skip to main content
Known Participant
January 16, 2013
Answered

Fusion vs IP Multicast player difference

  • January 16, 2013
  • 1 reply
  • 1360 views

I have created a multicast video player using actionscript 3 to which I pass parameters and based on it I change different things in player . Here is my code .

                              var groupspec:GroupSpecifier = new GroupSpecifier(group);

                              groupspec.setPublishPassword(streampassword);

                              groupspec.multicastEnabled = true;

                              if(isFusionMulticast){

                                             groupspec.serverChannelEnabled = true;

                                             groupspec.ipMulticastMemberUpdatesEnabled = true;

                              }else if(isIPMulticast){

                                             groupspec.peerToPeerDisabled = true;

                              }

                              groupspec.addIPMulticastAddress(multicastip);

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

Is above code correct to handle Fusion or multicase ?

For NetConnection I  do nc.connect("rtmfp:"); in both case : Fusion or IP Multicast . Will that be any difference in both cases ?

This topic has been closed for replies.
Correct answer

Sorry for the confusion. Here I just gave an example of localhost in case if AMS is installed on the local machine. Here you will have to specify AMS serverIP.

Also, if you are not able to connect to nc.connect("rtmfp://fms.mycompany.com/multicast") i.e. to your AMS server using rtmfp, then there is something wrong. Which version and which edition of AMS are you using?

1 reply

January 17, 2013

Hi,

Only in case of IP multicast, you do nc.connect("rtmfp:"). In all other case, you will have to specify AMS server IP like nc.connect("rtmfp://localhost/multicast").

Known Participant
January 17, 2013

I tried that and it never can connect to the server , I tried nc.connect("rtmfp://localhost/multicast").  and also with my server url nc.connect("rtmfp://fms.mycompany.com/multicast"). In both cases it returns NetConnection.Failed . Also I dont think I can use localhost because in that case user might have a localhost server on his own machine .

Correct answer
January 17, 2013

Sorry for the confusion. Here I just gave an example of localhost in case if AMS is installed on the local machine. Here you will have to specify AMS serverIP.

Also, if you are not able to connect to nc.connect("rtmfp://fms.mycompany.com/multicast") i.e. to your AMS server using rtmfp, then there is something wrong. Which version and which edition of AMS are you using?