Copy link to clipboard
Copied
[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
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
Thank you i will look into that and report back.
Copy link to clipboard
Copied
This is what i see in livepkgr Application.xml..
I don't see an option for diskmanagment..
<Application>
<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>
<!-- This configuration takes care of situation when the timestamps of -->
<!-- certain messages in internally or externally published streams don't -->
<!-- honor absolute clock contract. -->
<!-- The possible values are listed below: -->
<!-- 0 disables the work around and is default if the configuration is -->
<!-- not present. -->
<!-- 1 handles the scenario for externally published streams only -->
<!-- 2 handles the scenario for internally published streams only -->
<!-- 3 handles both of above -->
<AdjustForZeroTimeStampMessages>2</AdjustForZeroTimeStampMessages>
<!-- 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>
Please advise Thanks
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
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?
Copy link to clipboard
Copied
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?
Copy link to clipboard
Copied
Ok so you said i dont have diskmanagment enabled?
[root@localhost liveevent]# nano Event.xml
<Event>
<EventID>liveevent</EventID>
<Recording>
<FragmentDuration>4000</FragmentDuration>
<SegmentDuration>400000</SegmentDuration>
<DiskManagementDuration>3</DiskManagementDuration>
</Recording>
</Event>
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
I understand now trying it out
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
I have the main.far file in root dir rtmp://foo.foo/livepkgr/channel777?adbe-live-event=carb0n
Sent from my iPhone
Copy link to clipboard
Copied
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
Copy link to clipboard
Copied
I forgot what wowzaserver was sorries
Is that normal for iOS devices tho?
Sent from my iPhone
Copy link to clipboard
Copied
disk managment fixed thanks iphone delys still an issue for me 30secs is alot for a live stream