Capture TS: Could not parse file: sync byte not found
Nobody has claimed this yet.
- Dominant language
- ActionScript
- Stars
- 744
- Forks
- 259
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
I am using flashlsOSMF.swc in an AS3 Air desktop app, everything is working , great plugin ;)
Plugin is included as such :
import org.mangui.osmf.plugins.HLSPlugin;
streamFactory.loadPlugin(new PluginInfoResource(new HLSPlugin()));
Occasionally a stream I use experiences issues which cause TSDemuxer to throw "TS: Could not parse file: sync byte not found @ offset/len 1/188" type error.
My problem is I would like to handle this gracefully, but I cannot get my head round how to addEventListener to capture it. Have tried on the MediaFactory/MediaPlayer and MediaElement.
Is it possible ?
Sorry if this not a direct flashls question.
Thanks
Ian
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the TSDemuxer "sync byte not found" error through the HLSPlugin and the MediaFactory, MediaPlayer, and MediaElement event paths mentioned in the report. Determine whether the parse failure is exposed to an event listener, and verify that the resulting behavior lets an application handle the stream error gracefully.
Written by the indexing model from the issue text.
Assessment
- Domain
- audio-video-rtc
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100