Skip to main content
Known Participant
December 12, 2011
Question

hds-live streaming help! what files need to be where on the FMS 4.5 server?

  • December 12, 2011
  • 1 reply
  • 1141 views

I'm trying to stream a HDS live multi-bit stream, it seems to push to the FMS but my player doesn't display the stream.

Are these settings and files correct? The documenation is confusing on what and which files need to be edited and/or created.

Encoder settings:

     Bit Rate: 150,500,700

     FMS URL: rtmp://myserver/livepkgr

     Stream: liveevent%i?adbe-live-event?liveevent

FMS 4.5

I see the following directories being created when I start encoding and each directory has a single file with a .stream extension in them. Are these correct?

C:\FMS-HOME\applications\livepkgr\events\_definst_\liveevent1

C:\FMS-HOME\applications\livepkgr\events\_definst_\liveevent2

C:\FMS-HOME\applications\livepkgr\events\_definst_\liveevent3

In my WEBROOT I created a manifest file called liveevent.f4m

<manifest xmlns="http://ns.adobe.com/f4m/2.0">

    <baseURL>http://myserver/hds-live/livepkgr/_definst_/liveevent/</baseURL>

    <media href="liveevent1.f4v.f4m" bitrate="150"/>

    <media href="liveevent2.f4v.f4m" bitrate="500"/>

    <media href="liveevent3.f4v.f4m" bitrate="700"/>

</manifest>

My Strobe Media Playback Client player trys to access the live stream using : http://myserver/liveevent.f4m

Thanks,

Dave

    This topic has been closed for replies.

    1 reply

    Nikhil_Kalyan
    Participating Frequently
    December 12, 2011

    Hi,

    Thanks for trying HDS.

    All the steps are correct, except that the liveevent.f4m need not be created and kept in the webroot. It is auto-generated by the apache module that comes with FMS installation, auto-generated and fetched by the configs/settings n streams that are published.

    With the details above and the rest of the settings being at default, you should be able to retrieve the f4m with the uRL : http://myserver:8134/hds-live/livepkgr/_definst_/liveevent.f4m

    The same URL can be fed to the strobe media player to start the playback. Let us know if you are able to use it.

    Thank you !

    Mr_DaveAuthor
    Known Participant
    December 12, 2011

    According to the Adobe help docs it seems like you need to created the f4m and m3u8 files.

    In the URL you provided (http://myserver:8134/hds-live/livepkgr/_definst_/liveevent.f4m) you have 'hds-live' but the adobe docs say don't include it.

    For adaptive streaming, the client requests a set-level manifest. For HDS, this file is a .f4m file. For HLS, this file is a .m3u8 file.

    The set-level manifest can live on any web server. You can create multiple set-level manifest files for a single set of live streams.

    The set-level manifest contains the paths to the F4M manifest files (HDS) and M3U8 variant playlists (HLS) of each live stream.

    The paths must begin with /hds-live or /hls-live to tell the server to package the streams for HTTP.

    Note: Do not include /hds-live or /hls-live in the URL that requests the set-level manifest.
    Everything is default in my configuration except that I changed the FMS adapter to only listen on port 1935 and Apache to listen on port 80. I removed the 8134 proxying port. So the URL in my client player doesn't work. http://myserver/hds-live/livepkgr/_definst_/liveevent.f4m
    Thanks,
    Dave