-
Notifications
You must be signed in to change notification settings - Fork 264
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Resolved intermittent crash while seeking, added support for manifest files with CR-LF line breaks #492
Conversation
lines with unexpected whitespace prefix or suffix
thanks @neilrackett , I am not comfortable with a PR with so many things inside. |
@@ -16,6 +17,8 @@ | |||
<classEntry path="org.mangui.osmf.plugins.traits.HLSSeekTrait"/> | |||
<classEntry path="org.mangui.osmf.plugins.traits.HLSTimeTrait"/> | |||
<classEntry path="org.mangui.osmf.plugins.utils.ErrorManager"/> | |||
<classEntry path="org.mangui.hls.loader.SubtitlesFragmentLoader"/> | |||
<classEntry path="org.mangui.hls.utils.hls_internal"/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not existing files ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed (leftover from another branch)
Hi @mangui, the PR started as a single item, but GitHub obviously includes all additional commits in the request, so I had to expand it -- I'll see what I can do to make PRs in more bite size chunks in the future (and won't commit SWF/SWC files). I've removed class references and |
# Conflicts: # bin/debug/flashls.swc # bin/debug/flashlsChromeless.swf # bin/debug/flashlsFlowPlayer.swf # bin/debug/flashlsOSMF.swc # bin/debug/flashlsOSMF.swf # bin/release/flashls.swc # bin/release/flashlsChromeless.swf # bin/release/flashlsFlowPlayer.swf # bin/release/flashlsOSMF.swc # bin/release/flashlsOSMF.swf
@@ -1,6 +1,6 @@ | |||
<?xml version="1.0" encoding="UTF-8" standalone="no"?> | |||
<actionScriptProperties analytics="false" mainApplicationPath="flashls.as" projectUUID="e938451b-f4d1-4796-ba95-b9054fce71fa" version="11"> | |||
<compiler additionalCompilerArguments="-locale=en_US -define+=CONFIG::LOGGING,false" autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="false" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderPath="bin" removeUnusedRSL="true" sourceFolderPath="src" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" useFlashSDK="false" verifyDigests="true" warn="true"> | |||
<compiler additionalCompilerArguments="-locale=en_US -define+=CONFIG::LOGGING,false" autoRSLOrdering="true" copyDependentFiles="false" fteInMXComponents="true" generateAccessible="false" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="false" htmlPlayerVersionCheck="true" includeNetmonSwc="false" outputFolderPath="bin" removeUnusedRSL="true" sourceFolderPath="src" strict="true" targetPlayerVersion="0.0.0" useApolloConfig="false" useDebugRSLSwfs="true" useFlashSDK="false" verifyDigests="true" warn="false"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changes not related to the PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reverted
AudioTrackController.audioTracks using new Vector.<AltAudioTrack>() to prevent crash when reading HLS.audioTracks.length before audio is ready
@@ -259,7 +259,7 @@ package org.mangui.hls { | |||
public function set audioTrack(val : int) : void { | |||
_audioTrackController.audioTrack = val; | |||
} | |||
|
|||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sorry I am a bit pedantic, but there are some useless whitespace there :-/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not any more.
thanks for your contribution ... and patience ! |
This pull request includes the following changes:
FragmentLoader.as
now checks for missing_fragPrevious
data while analysing PTS to prevent crashes caused by aTypeError: Error #1009: Cannot access a property or method of a null object reference
error during seek operations, which we have been seeing intermittently with some VOD streamsnumAudioTracks
getter has been added toHLS.as
as a convenient way of checking for the availability of alternative audio (for example when displaying a menu, etc)Manifest.as
, and a newStringUtil.as
class added, to support manifest files that have been encoded with line breaks or other whitespace characters not in the expected Linux format, for example those using CR-LF line breaks instead of just LF