RTMP connections stall unless network 'bypassed'
We have been having a strange problem with the Flash Media Server 4 (development edition) that I would be very gratefull if anyone could shed any light on.
Situation:
We set up a dev FMS so that we could test content for clients before pushing it onto a CDN and for evaluating various hardware encoders that claim to support flash.. Everything appears to be working perfectly after the install; all the samples played back perfectly over the localhost. Furthermore I was able to add my own items into the VoD folder and view them flawlessly, again on FMS localhost.
However when I tried to view them over the network things became more interesting.
When viewed over the network the RTMP seems to 'stall'. This happens after a varying amount of time from 1 second to 20 seconds into the FLV/F4V file. HTTP transfer of VoD files seems to be much better buit still seems to 'stall' quite often. If we bypass the network and connect a client to the Flash Media Server with a X-over cable we can stream RTMP or HTTP perfectly.
I took a look at the logfiles in %apps%Adobe/Logs/access.log and I can see the connection being opened on port 1935 as expected
-> Connect-pending session
-> connect session
-> play stream
The stream stalls between 2 and 50 seconds into the sample video, leaving me viewing the "buffering" bar. There are no entries in access.log or elsewhere that give any indication anythign has gone wrong until I see messages stating:
-> client-pause stream
-> client-unpause stream
-> stop stream
-> disconnect
HTTP streaming works a great deal better - we get around 50-70% of the data coming through before it in turn 'stalls'. Now just when I thought things could not get any weirder... If i try the webcam-test (for the interactive tab on FMS4) then it will happily stream live RTMP seemingly forever.
Checks Made:
We have (i hope) eliminated the FMS server firewall, gateway, client firewalls, checked the ports are open (1935/80/8080 etc) but still we are no closer to cracking the stalled RTMP/HTTP issue
