granular error event code
introduce a new HLSError.as object, with Error Code, enabling integrators to customize error dialogs
related to https://github.com/mangui/HLSprovider/issues/134
replace for by foreach loop whenever possible
fix AVC profile/level invalid debug traces
avoid useless processing in case debug logs are not enabled
adapt fragment loading/parsing logic to support progressive buffering

not implemented yet, but should be easier after this refactoring.

provide 3 callback functions to demuxer :
function _fragParsingAudioSelectionHandler(audioTrackList : Vector.<HLSAudioTrack>) : HLSAudioTrack
demuxer provides to fragment Loader the list of audio tracks found. fragment loader will then tell demuxer which one needs to be selected

function _fragParsingProgressHandler(audioTags : Vector.<Tag>, videoTags : Vector.<Tag>) : void
callback for progressive parsing

function _fragParsingCompleteHandler(audioTags : Vector.<Tag>, videoTags : Vector.<Tag>) : void
callback for parsing complete

related to https://github.com/mangui/HLSprovider/issues/140
fix incorrect audio PID value reported in debug logs
remove arguments from parsing complete callback
audio/video tags should be provided by demux only through progress callback
related to https://github.com/mangui/HLSprovider/issues/140
HLSProvider/OSMF fix missing overlayPlay Button

regression introduced in v0.5.6
fix https://github.com/mangui/HLSprovider/issues/166
use for each loop
in case SPS/PPS NAL unit have been found, force video tag has being keyframe.
this will fix playback issues with some streams for which there is no IDR NAL unit in PES packet containing SPS/PPS.
related to https://github.com/mangui/HLSprovider/issues/162
remove useless return
clean FLV tag type setup
TS: progressively report parsed audio/video tags to fragment loader
related to https://github.com/mangui/HLSprovider/issues/140
progressively handle PTS normalization and min/max computing
add a new helper method to normalize PTS value
also normalize PTS value when computing fragment duration
related to https://github.com/mangui/HLSprovider/issues/140
move more logic into progressive parsing callback
related to https://github.com/mangui/HLSprovider/issues/140
progressive buffering : progressively push tags if the following conditions are met:
* first fragment is loaded (to avoid issues with accurate seeking)
* no PTS analysis in progress (when PTS analysis is in progress, the buffered tags might be discarded)
* no discontinuity (this condition could be removed later on)
related to https://github.com/mangui/HLSprovider/issues/140
fix duration not updated on GrindPlayer
regression introduced by https://github.com/mangui/HLSprovider/commit/b957d913b1f6b04dcea27de3ab8d5ab8de74defe
related to https://github.com/mangui/HLSprovider/issues/166 which is also fixed
Ensure that we stop polling the manifest when state goes to IDLE
Ensure that all fragment loaders are stopped when the NetStream is
closed
Propogate errors from HLS into OSMF
Merge pull request #173 from mpoindexter/osmf-fixes

Some fixes for OSMF