Skip to main content
Known Participant
Jan 16, 2013 9:15 PM UTC
Answered

Fusion vs IP Multicast player difference

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 is closed to new replies. Start a new post to keep the conversation going.
Correct answer
Jan 17, 2013 3:50 PM UTC

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?

5 replies

Jan 17, 2013 5:02 AM UTC

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").

Translate
Known Participant
Jan 17, 2013 2:51 PM UTC

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 .

Translate
Correct answer
Jan 17, 2013 3:50 PM UTC

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?

Translate