HLSSettings: Add manifestMaxTimeoutRetry and fragmentMaxTimeoutRetry
related to https://github.com/mangui/HLSprovider/pull/203
fix/improve logs
fix macroblock issues with certain streams
tags are sorted by DTS in HLSNetStream.as.
on the faulty streams we could see that several consecutive PES packets have same DTS but different PTS.
ex:
pts/dts:-29138409/-29138476
pts/dts:-29138442/-29138476
this case (same DTS, different PTS) was not handled properly in the sorting function.
while rethinking about it, this sort by DTS should now be useless as all tags should already be sorted in DTS order in TS, also AVCC and ADIF header are inserted at the right location.
solution is to remove this sorting. this should also save some CPU cycles.
related to https://github.com/mangui/HLSprovider/issues/189
save some memory
TS parsing optimization
push video tags only when new one is created. when TS parsing is over, push last video tag : this avoids splicing the vectors.
only push one ADIF tag
don't differentiate audio and video tags
insert tags in the order they have been found in the stream
fix player stalling issue that could happen with adaptive streaming/live playlist
following symptom could be found from logs : WARN:error trying to load Infinity of [1973,5567],level 6
such issue could happen when switching level at the edge of live playlist, if playlist of new level is outdated.
replace loop index type from Number to int to speed-up loop
http://upshots.org/actionscript/20-tips-to-optimize-your-actionscript
progressive PTS analysis
speed up level switching, when PTS is unknown on new level
related to https://github.com/mangui/HLSprovider/issues/140
compact objects
Number / int conversion, loop optimization
replace Number by int/uint where-ever possible
clean up events around manifest/level/fragment
manifest loading/manifest parsed/manifest loaded
level switching/level loading/level loaded
fragment loading/fragment loaded
related to https://github.com/mangui/HLSprovider/issues/222
fix typo
related to https://github.com/mangui/HLSprovider/issues/222
remove useless workaround
rename var for sake of clarity
OSMF: dispatch MediaError in case Manifest loading fail
related to https://github.com/mangui/HLSprovider/pull/227
report current playback date/time in HLSEvent.MEDIA_TIME
#EXT-X-PROGRAM-DATE-TIME should be available in the playlist
fix playlist sliding incorrectly reported in some playlist
related to https://github.com/mangui/HLSprovider/issues/211
improve comments
Adding support for DataURIs

Relates to https://github.com/mangui/HLSprovider/issues/229