Skip to main content
August 2, 2011
Question

Flash Multicast streaming problem

  • August 2, 2011
  • 1 reply
  • 1603 views

Dear all,

I am testing the P2P function of Flash Media Server 4.

I have setup two environment for testing, but only one can success to using the P2P.

However, i found that there is some problem in network connection.

Here is my procedure to create the Peer to Peer Multicast.

1. Using Multicast Config Tool (\tools\multicast\configurator) to create the "Peer to Peer" type

(Generate the manifest.f4m and copy the publisher stream name to flash encoder)

--> multicast type: Peer to Peer

--> RTMFP URL: rtmfp://true ip/miltocast

--> stream name: livestream

--> publish password: password

--> group name: fms.multicast.example

--> ip multicastaddress and port: 224.0.0.254:30000

2. Using Flash encoder with the public stream name connect to flash media server.

3. In client side, we use the example player (\tools\multicast\multicastplayer)  with the mainfest.f4m to view the video.

First Environment (A) - not work

1. Flash Media Server (Data center)

Data center reported that "All the port have opened (TCP/UDP)

     access-list outside-in permit udp any host <trueip> (hitcnt=127)

     access-list outside-in permit tcp any host <trueip>  (hitcnt=18647)

     access-list inside-out3 permit tcp host <internalip> any (hitcnt=1095)

     access-list inside-out3 permit udp host <internalip> any (hitcnt=1194)

2. Flash Media Encoder (Inhouse)

     -- OK in connect to flash media server

3. Client (Inhouse or outside)

     -- Can not connect to the flash media server thru RTMFP

Remarks: tested RTMP, RTMTP connection OK with the same video source

Second Environment (B)

1. Flash Media Server (Inhouse)

     -- All the port opened by our network administrator

2. Flash Media Encoder (Inhouse)

     -- OK in connect to flash media server

3. Client (Inhouse or outside)

     -- Can connect to the flash media server

Remarks: tested RTMP, RTMTP, RTMFP connection OK with the same video source

How to test whether the network connection problem or the setup of the flash media server problem?

Is there any part that i have missed during the configuration?

Is FMS4 multicast is not suitable for multicast streaming in Internet?

Thanks all!

    This topic has been closed for replies.

    1 reply

    Adobe Employee
    August 2, 2011

    if the server in the "data center" is behind a NAT, you will need to configure the translations into the FMS Adaptor.xml file in the RTMFP section (at the end).

    check whether your server has any on-server firewalls enabled.

    since neither "in house" or "outside" clients can connect to your FMS in the data center, that suggests a configuration issue at the data center, rather than for example a firewall issue at your "in house" Internet connection point.  especially since "in house" and "outside" clients can connect when FMS is located "in house".

    August 3, 2011

    I have modified the Adaptor.xml to the following:

    <HostPort public="<trueip>:19350-65535">:19350-65535</HostPort>

    However, the result is the same.

    Does the other changes have to made in the Adaptor.xml?

    Checked that the server have not setup any software firewall.

    Does any method to check wheather the cliend side can connect to the server in RTMFP (UDP)?

    Thanks ur reply!

    Adobe Employee
    August 3, 2011

    if you send me (privately) the RTMFP URI to which you're trying to connect, i can look at the pattern of packets and see if there's an obvious problem.