Skip to main content
Participant
September 4, 2012
Question

Http dynamic live streaming - cant snap to live

  • September 4, 2012
  • 2 replies
  • 887 views

Hi there

Am having an issue with Http dynamic live streaming, whereby the stream will not snap to the live point, despite calling the stop() action on the PlayTrait of the MediaElement. Instead, upon resuming playback the stream restarts from the point in the stream at which it was stopped - effectively acting as a pause of the stream, and continues to play. After checking at runtime, the Media Element does not have the DVRTrait, so I am not sure how this DVR like functionality is actually occuring?

I have checked the manifest file (see below, with baseURl removed) and the dvrInfo parameter is not present, as is suggested in the documentation http://sourceforge.net/apps/mediawiki/osmf.adobe/index.php?title=Live_ DVR_Rolling_Window_for_HTTP_dynamic_streams

From the documentation, the 'snap to live' functionality is meant to be as default, however this does not seem to be the case. Are there any other parameters that need to be configured, either on the FMS side, or in the code for the OSMF player in order for this to happen?

<manifest xmlns="http://ns.adobe.com/f4m/2.0">
  <baseURL>http://XXXXXXXXXXXXXXXXXXXXX/_definst_/liveevent/</baseURL>
  <media href="_1_34.f4m" bitrate="400"/>
  <media href="_2_34.f4m" bitrate="600"/>
  <media href="_3_34.f4m" bitrate="800"/>
  <media href="_4_34.f4m" bitrate="1200"/>
  <media href="_5_34.f4m" bitrate="1500"/>
  <media href="_6_34.f4m" bitrate="1800"/>
  <media href="_7_34.f4m" bitrate="2200"/>
</manifest>

OSMF 2.0

FMS 4.5

HTTP Dynamic Live Streaming

Thanks


Steve

    This topic has been closed for replies.

    2 replies

    Adobe Employee
    November 8, 2012

    Since you have hosted your f4m(manifest) file manually you need to place the dvrinfo tag manually in your f4m file.

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

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

    <dvrInfo beginOffset="30" endOffset="60"/>

    <media href="livestream1.f4m" bitrate="180"/>

    <media href="livestream2.f4m" bitrate="280"/>

    <media href="livestream3.f4m" bitrate="430"/>

    </manifest>

    If this dvrinfo tag is not present OSMF player will consider this as live stream.

    In case you are not hosting this f4m manually and using the dynamically generated f4m by AMS, you need to specify the dvrinfo tag in Manifest.xml file in the specific event to which you are publishing like below:

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

      <dvrInfo beginOffset="30" endOffset="60" />

      <media streamId="livestream1" bitrate="180" />

      <media streamId="livestream2" bitrate="280" />

      <media streamId="livestream3" bitrate="430" />

    </manifest>

    November 7, 2012

    Same proble without solution for me