Skip to main content
Participant
Aug 4, 2009 7:21 AM UTC
Question

Cannot Play HTTP Sample Video and Dynamic Stream on IIS Default Website

Sorry if I repeat this IIS topic, I couldn't find the answer to my problem any where on the internet. I installed FMS Dev 3.5 on Win 2003 Server with IIS 6.0 enabled. I don't have any issue with port 80 Listening, I used the IP address 192.168.0.21 for my web application (IIS) and 192.168.0.22 for FMS (I only have one network card and port 1935 is open under firewall). I can play the sample videos (RTMP, HTTP, and Dynamic Stream) using the Flash Media Start Screen (or from the location C:\ Program Files\Adobe \Flash Media Server 3.5\webroot\index.html) without any problem.

I then modified the IIS Default Website to look at the "webroot" folder (C:\ Program Files\Adobe \Flash Media Server 3.5\webroot). From IE, I can access the default web site by enter http://192.168.0.21/index.html. The website loads up correctly, and the RTMP video is playing perfectly. However, if I click Play Video (HTTP) or Dynamic Stream (tab), I receive "Connection Error. Please press Play to try again." I look at the log file (access.01.log) and see the error log "Session disconnect ..."

The fms.ini file has the following setting:

VOD_COMMON_DIR = C:\ Program Files\Adobe \Flash Media Server 3.5\webroot\vod

VOD_DIR = C:\ Program Files\Adobe \Flash Media Server 3.5\applications\vod\media

ADAPTOR.HOSTPORT = :1935, 80

HTTPPROXY.HOST = 192.168.0.22

(Everything else is default to original setting)

The Adaptor.xml has the original settings.

I have been trying many different ways without any success; therefore, I decide to post this and see if anyone have any solution to this problem.

Thanks in advance.

    This topic is closed to new replies. Start a new post to keep the conversation going.

    6 replies

    Aug 5, 2009 5:42 PM UTC

    The proxy host setting needs a port. Try this:

    HTTPPROXY.HOST = 192.168.0.21:80

    Translate
    manh2000Author
    Participant
    Aug 6, 2009 6:49 AM UTC

    Jay, thank you for your reply. I tried your way and still everything is the same, as described above. I even tried to reboot the server, instead of just stop/start the services.

    I captured the logs and attached with this post and hopefully someone will find something wrong.

    Thanks.

    Translate
    Aug 6, 2009 12:38 PM UTC

    It looks like you have FMS configured to bind to all IP's (I seem to have missed that yesterday). Try binding FMS to a specific IP:

    ADAPTOR.HOSTPORT = 192.168.0.22:1935, 80

    HTTPPROXY.HOST = 192.168.0.21:80

    Translate
    manh2000Author
    Participant
    Aug 5, 2009 3:23 PM UTC

    Anyone? I need to resolve this issue before move on to further testing and development.

    FYI: I try to also open port 80 and 1111 through firewall with no success. Even disable the firewall still not working.

    What I see is that the flash player from the IIS website can stream from rtmp://webroot/vod/xxx.flv and cannot progressively stream from ../vod/xxx.flv. Does this have something to do with how to access the video file through IIS website? I have read a couple posts regarding the MIME type, and I did what people are suggested by adding the FLV MIME type to Win 2003 Server (SP2) but no luck.

    Anyone with comment and suggestion is greatly appreciated.

    Thanks.

    Translate