Skip to main content
Participant
April 29, 2013
Answered

Enabling DVR in FMS4.5

  • April 29, 2013
  • 1 reply
  • 599 views

I have a livevent for which I want to enable DVR.  The event name is liveevent, but when I stream live event it does not show rewind button on player though event plays fine. I am using HDS and this is the URL provided to player http://servername/hds-live/livepkgr/_definst_/liveevent/livestream.f4m

What  might be the problem?

My manifest files look like below

Manifest.xml

==========

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

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

<dvrInfo  windowDuration="-1"/>

  <media href="livestream.f4m" bitrate="650"/>

</manifest>

Events.xml

===========

<Event>

    <EventID>liveevent</EventID>

    <Recording>

        <FragmentDuration>4000</FragmentDuration>

        <SegmentDuration>10000</SegmentDuration>

</Recording>

</Event>

Application.xml

===========

<Application>

     <HDS>

        <Recording>

            <FragmentDuration>4000</FragmentDuration>

            <SegmentDuration>16000</SegmentDuration>

            <DiskManagementDuration>4.5</DiskManagementDuration>

        </Recording>

    </HDS>

    <StreamManager>

        <Live>

            <!-- When enabled, the server will assume that incoming live streams have -->

            <!-- timestamps that are based on an absolute clock, such as a SMPTE time -->

            <!-- signal contained within the encoder's input source.                  -->

            <!-- Default is false.                                                    -->

            <AssumeAbsoluteTime>true</AssumeAbsoluteTime>

            <!-- Allow take over so that encoders that go down (for some reason) and  -->

            <!-- and come back up can immediately republish.                          -->

            <PublishTimeout>0</PublishTimeout>

            <!-- When enabled along with AssumeAbsoluteTime, the server will          -->

            <!-- assume that incoming live streams will always maintain the           -->

            <!-- timestamps based on an absolute clock across server and stream       -->

            <!-- restarts.                                                            -->

            <!-- Default is true.                                                     -->

            <AdjustForRecordingRollover>false</AdjustForRecordingRollover>

        </Live>

    </StreamManager>

</Application>

This topic has been closed for replies.
Correct answer Sandeep333

I got it working. I had missed these lines from http://help.adobe.com/en_US/flashmediaserver/devguide/WSd391de4d9c7bd609-52e437a812a3725dfa0-8000.html#WS8c0554f47ab8e40d-7ee0c1d6131f3c40b56-8000

"Click Save Manifest and save the file as liveevent.f4m to rootinstall/webroot.

The media player requests this file from a web server. This tutorial saves the file to rootinstall/webroot, but the file can be served from any location on any webserver. This file does not need to live on Flash Media Server. This file can also have any name."

The idea is to have liveevent.f4m file serve livestream.f4m file..its confusing while reading for 1st time...

My liveevent.f4m is like below and is getting served from apache...

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

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

  <dvrInfo windowDuration="60"/>

  <media href="livestream.f4m" bitrate="700"/>

</manifest>

1 reply

Sandeep333AuthorCorrect answer
Participant
April 29, 2013

I got it working. I had missed these lines from http://help.adobe.com/en_US/flashmediaserver/devguide/WSd391de4d9c7bd609-52e437a812a3725dfa0-8000.html#WS8c0554f47ab8e40d-7ee0c1d6131f3c40b56-8000

"Click Save Manifest and save the file as liveevent.f4m to rootinstall/webroot.

The media player requests this file from a web server. This tutorial saves the file to rootinstall/webroot, but the file can be served from any location on any webserver. This file does not need to live on Flash Media Server. This file can also have any name."

The idea is to have liveevent.f4m file serve livestream.f4m file..its confusing while reading for 1st time...

My liveevent.f4m is like below and is getting served from apache...

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

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

  <dvrInfo windowDuration="60"/>

  <media href="livestream.f4m" bitrate="700"/>

</manifest>