Skip navigation
Currently Being Moderated

Streaming using livepkgr Cache issues

Oct 8, 2013 10:11 AM

Tags: #ams

[root@localhost channel777]# ls -l

total 268280

-rw-rw---- 1 ams ams      6430 Oct  8 11:59 channel777.bootstrap

-rw-rw---- 1 ams ams        16 Oct  8 11:59 channel777.control

-rw-rw---- 1 ams ams       434 Oct  8 11:29 channel777.meta

-rw-rw---- 1 ams ams 274679787 Oct  8 11:59 channel777Seg1.f4f

-rw-rw---- 1 ams ams     14649 Oct  8 11:59 channel777Seg1.f4x

[root@localhost channel777]#

 

This feild -rw-rw---- 1 ams ams 274679787 Oct  8 11:59 channel777Seg1.f4f really concerns me for 2 reasons

 

Reason

 

#1 Why does the file get so large? IE: 14 GB before i restart FMLE and Delete the stream data manually. if i don't delete cache iphone/ipad doesn't play correctly when i restart stream.

 

#2 When i restart FMLE it doesnt delete cache automaticly like Wowza Server.

 

Im using AMS Extended 5.0.1 r1076

 

Any suggestions or comments are welcome

 

Thanks

 
Replies
  • Currently Being Moderated
    Oct 8, 2013 10:38 AM   in reply to bluraymakulit2

    You do not have diskmanagment enabled for the livepkgr application in the /application root folder.   It needs to reside in /applications/livepkgr/events/_definst_/liveevent/Event.xml

     

    Google search for samle Event.xml for the livepkgr application.  You can then slice and dice the segments in an array for configurations to suite your server application.

     

     

    bluraymakulit2 wrote:

     

    [root@localhost channel777]# ls -l

    total 268280

    -rw-rw---- 1 ams ams      6430 Oct  8 11:59 channel777.bootstrap

    -rw-rw---- 1 ams ams        16 Oct  8 11:59 channel777.control

    -rw-rw---- 1 ams ams       434 Oct  8 11:29 channel777.meta

    -rw-rw---- 1 ams ams 274679787 Oct  8 11:59 channel777Seg1.f4f

    -rw-rw---- 1 ams ams     14649 Oct  8 11:59 channel777Seg1.f4x

    [root@localhost channel777]#

     

    This feild -rw-rw---- 1 ams ams 274679787 Oct  8 11:59 channel777Seg1.f4f really concerns me for 2 reasons

     

    Reason

     

    #1 Why does the file get so large? IE: 14 GB before i restart FMLE and Delete the stream data manually. if i don't delete cache iphone/ipad doesn't play correctly when i restart stream.

     

    #2 When i restart FMLE it doesnt delete cache automaticly like Wowza Server.

     

    Im using AMS Extended 5.0.1 r1076

     

    Any suggestions or comments are welcome

     

    Thanks

     
    |
    Mark as:
  • Currently Being Moderated
    Oct 8, 2013 12:10 PM   in reply to bluraymakulit2

    It is not Application.xml

    <Event>

      <EventID>liveevent</EventID>

      <Recording>

        <FragmentDuration>4000</FragmentDuration>

        <SegmentDuration>400000</SegmentDuration>

        <DiskManagementDuration>1</DiskManagementDuration>

      </Recording>

    <HLS>

        <MediaFileDuration>8000</MediaFileDuration>

        <SlidingWindowLength>0</SlidingWindowLength>

    </HLS>

    </Event>

     

     

    It is Event.xml located in the livepkgr instance    /opt/adobe/fms/applications/livepkgr/events/_definst_/liveevent/Event .xml

     

    Obviously you will substitute "livepkgr" to the name of your application.

     
    |
    Mark as:
  • Currently Being Moderated
    Oct 8, 2013 12:23 PM   in reply to bluraymakulit2

    No, Diskmanagment is the length in hours that files will be deleted. It will only keep 1 hour of 4 second 400,000kbyte files, in my example.

    bluraymakulit2 wrote:

     

    Oh ok i see that my DiskManagementDuration>1</DiskManagementDuration>

     

    is set to 3 by default do i need to change it to 1?

     

    what other things will i change?

     
    |
    Mark as:
  • Currently Being Moderated
    Oct 8, 2013 12:34 PM   in reply to bluraymakulit2

    That is enabled yes.

     

    What also could be skipping the Event.xml

     

    is you are not adding the string identifer in the rtmp sream URI     rtmp://foo.bar/livepkgr/channel777?&adbe-live-event=liveevent

     

    If you don't specificy the string 'liveevent', then it will not use <EventID>liveevent</EventID>

     

     

    rtmp://foo.bar/livepkgr/channel777?&adbe-live-event=myevent

     

    <EventID>myevent</EventID>

     

    rtmp://foo.bar/livepkgr/channel777

     

    No identifier... Defaults to NULL, no diskmanagment.

     
    |
    Mark as:
  • Currently Being Moderated
    Oct 9, 2013 8:47 PM   in reply to bluraymakulit2

    Wow. 10gig.. Big file. 

     

    are you missing the main.far or main.asc file in the /livepkgr root?

     

    What is the full RTMP URI?

    bluraymakulit2 wrote:

     

    Im still seeing huge files

     

    [root@localhost channel777]# ls -l

    total 10225424

    -rw-rw---- 1 ams ams      262640 Oct  9 22:39 channel777.bootstrap

    -rw-rw---- 1 ams ams          16 Oct  9 22:39 channel777.control

    -rw-rw---- 1 ams ams         434 Oct  9 03:18 channel777.meta

    -rw-rw---- 1 ams ams 10469977121 Oct  9 22:39 channel777Seg1.f4f

    -rw-rw---- 1 ams ams      557337 Oct  9 22:39 channel777Seg1.f4x

    [root@localhost channel777]#

     

    and 45 second delay on iphone and only 3 second delay on windows

    for live stream

     
    |
    Mark as:
  • Currently Being Moderated
    Oct 10, 2013 2:59 PM   in reply to bluraymakulit2

    just a quick question was that 45 second delay also in Wowza or just in AMS, I did have on average a 35 second delay with iphones with Wowza, curious if the same will happen in AMS

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points