Skip to main content
Participant
January 25, 2011
Question

FMS 4 - HTTP Dynamic Streaming and Apache -Please Help

  • January 25, 2011
  • 1 reply
  • 3112 views

We are trying to evaluate the new FMS 4 server and the HTTP Dynamic streaming ability it has. I have followed a couple of the tutorials found here on adobe.com to very little success, the one that seems to have the “trick” to get this working and the most confusing one (but complete one) is:

http://help.adobe.com/en_US/HTTPStreaming/1.0/Using/WS7b362c044b7dd076-735e76121260080a90e-7ffc.html#WS4fa2cfa188d8c3624ca8e9a212736dfa6f4-7fff

I am able to stream from the encoder (flash live encoder) to a locally installed FMS 4 (trail version) and I am able to see the stream event on the Admin Console. The problem comes when playing the stream. I simply can’t.

Judging by the tutorial, it has something to do with the apache modules that I am now unsure if we must use/modify.

If we don’t have to use them – how do we get by playing the dynamic stream?

If we do use them as the tutorial suggests – how does the httpd.conf file for apache look like in the “location” structure? So far I am using:

<Location /live>

    HttpStreamingEnabled true

    HttpStreamingLiveEventPath "C:\Program Files\Adobe\Flash Media Server 4\applications"

    HttpStreamingContentPath "C:\Program Files\Adobe\Flash Media Server 4\applications"

    Options -Indexes FollowSymLinks

</Location>

Does this require any further modifications? Is the location tag itself modified? If so, to which parameters (since the tutorial says we shouldn’t use http or ip values)

I am sending the stream from the encoder using the following settings:

Stream name: Livestream%i?adbe-live-event=liveevent%adbe-http-streaming-ver=1.0.

(As expected by the livepkgr/main.asc file?)

And to try to play it I use:

http://localhost/live/events/livepkgr/events/_definst_/liveevent.f4m

Any input would be great,

Thanks

    This topic has been closed for replies.

    1 reply

    b_alanisAuthor
    Participant
    January 25, 2011

    forgot to mention im starting with live streaming tests first....

    thanks again,

    regards,

    Participating Frequently
    January 26, 2011

    Your set up looks fine for me - there is no need to change any settings are you configuration is perfectly fine. Even URI you are using is correct.

    I am just wondering how are you playing back the stream - i mean which client are you using to play back the stream. Do you have your own OSMF player or StrobeMediaPlayback Player?

    You can download StrobeMediaPlayback Player from here  : http://sourceforge.net/projects/smp.adobe/files/

    Also one more thing to be checked would be whether you files are getting created when you start live publishing to rule out any permission issue (i do not think this would be case as you are on windows)

    Also do you see any errors in error_logs of Apache or any errors in master.00.log with related to Apache(httpd). Make sure Apache is up & running.

    You can also try configuring Apache to listen to 80 directly instead of 8134. (For this you will have to modify Listen tag in httpd.conf and also fms.ini)

    b_alanisAuthor
    Participant
    January 26, 2011

    1 - redownload OSMFPlayer (Http Dynamic streaming sample player from: http://www.osmf.org/developers.html (buttom right side)

    2 - reinstrall FMS 4 / Apache 2.2

    3 - Make sure Apache is running by: start - run - iexplore localhost:8134 - get FMS start page

    4- Make sure player is up and running by: start tun iexplore localhost:8134/OSMFplayer.html

    5- Start FLMEncoder using url: rtmp://localhost/livepkgr and stream name: livestream%i?adbe-live-event=liveevent&adbe-http-streaming-ver=1.0

    6- try to play using: http://localhost/live/events/livepkgr/events/_definst_/liveevent.f4m

    result: error 2032

    =(

    Attempt # 2:

    1 - change FLMEncoder URL from localhost to local ip: 192.168.1.102

    2 - Made sure stream arrives at FMS 4 Admin Console: Live event is: liveevent

    3 - tried to play the streaming changing the play url from localhost to localip: 192.168.1.102

    4 - error 2032

    attempt #3 & 4:

    - tried using both localhost and local ips + 8134 port (just in case)

    - error 2032

    is there maybe something in the apache httpd.conf file i need to change besides the location?

    ill check the logs in a few mins...

    EDIT: did not find anything "relevant" to my eyes in the logs, im almost sure it has something to do with the apache conf file location edit... are we sure its:

    <Location /live>
        HttpStreamingEnabled true
        HttpStreamingLiveEventPath "C:\Program Files\Adobe\Flash Media Server 4\applications\livepkgr"
        HttpStreamingContentPath "C:\Program Files\Adobe\Flash Media Server 4\applications\livepkgr"
        Options -Indexes FollowSymLinks
    </Location>

    ?? or should it stop when it points to applications?