Skip to main content
Known Participant
December 12, 2011
Question

F4M document contains errors - URL missing from Media tag

  • December 12, 2011
  • 13 replies
  • 13541 views

I feel like I'm getting close to finally get a live stream to work correctly in 4.5

I can see the streams being recorded in the following directories

     C:\FMSHOME\applications\livepkgr\streams\_definst_\liveevent1

     C:\FMSHOME\applications\livepkgr\streams\_definst_\liveevent2

     C:\FMSHOME\applications\livepkgr\streams\_definst_\liveevent3

Each directory contains five files: bootstrap ,control, meta, f4f, and f4x.

I have a single file called Event.xml in the directory: C:\FMSHOME\applications\livepkgr\events\_definst_\liveevent

<Event>

<EventID>liveevent</EventID>

<Recording>

<FragmentDuration>4000</FragmentDuration>

<SegmentDuration>16000</SegmentDuration>

<DiskManagementDuration>3</DiskManagementDuration>

</Recording>

</Event>

However the client player receives the exception F4M document contains errors - URL missing from Media tag.

If this file is dynamically generated on the fly by the server what do I need to change to resolve this issue?

<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"

            codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab##version=10,0,0,0"

            width="600"

            height="409">

            <param name="movie" value="StrobeMediaPlayback.swf"></param>

            <param name="FlashVars" value="src=http://myserver/hds-live/livepkgr/_definst_/liveevent.f4m"></param>

            <param name="allowFullScreen" value="true"></param>

            <param name="allowscriptaccess" value="always"></param>

            <embed src="StrobeMediaPlayback.swf"

                   type="application/x-shockwave-flash"

                   allowscriptaccess="always"

                   allowfullscreen="true"

                   width="600"

                   height="409"

                   FlashVars="src=http://myserver/hds-live/livepkgr/_definst_/liveevent.f4m">

            </embed>

</object>

Thanks Again!

Dave

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

    13 replies

    December 13, 2011

    Hi,

    This error is usually observed when you do not have entries for all the streams in the manifest.xml file. For eg - if you are publishing 3 streams to the FMS, there should be a manifest.xml file containing entries for each one of them in a media tag, like this -

    <media streamId="liveevent1" bitrate="100" />

    <media streamId="liveevent2" bitrate="200" />

    <media streamId="liveevent3" bitrate="350" />

    If you are using the default manifest.xml that comes with FMS, inside C:\FMSHOME\applications\livepkgr\events\_definst_\liveevent\manifest.xml, then make sure you change the streamIds to your custom setup.

    Please try the following and let me know if you face any other problem.

    Mr_DaveAuthor
    Known Participant
    December 13, 2011

    I've got a single bitrate stream working now I need to figure out how to configure multi bitrate streams.

    I thought you needed to remove the manifest.xml and only have an event.xml file in your event folder.

    So if I encode 3 streams using bitrates of 100, 200, and 350. I would encode useing livestream%i?adbe-live-event=liveevent

    My C:\FMSHOME\applications\livepkgr\events\_definst_\liveevent\manifest.xml file would look like:

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

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

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

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

         </manifest>

    

    Would my client player still access the multi-bit live stream using this url? Or should my url be different.

    http://myserver/hds-live/livepkgr/_definst_/liveevent/liveevent.f4m

    

    Thanks for the help.

    Dave

    December 14, 2011

    Yes, the manifest file url would be the same - http://myserver/hds-live/livepkgr/_definst_/liveevent.f4m.

    Are you able to get things to work this way?