samirkumardas / jmuxer

jMuxer - a simple javascript mp4 muxer that works in both browser and node environment.
Other
559 stars 114 forks source link

Provide a handler for data feeding error #120

Closed stevensturkop closed 2 years ago

stevensturkop commented 2 years ago

Would it be possible to add an onFeedError handler in order to catch any data feeding issues ?

For instance under debug.error('Failed to extract any NAL units from video data:', left); we would have the onFeedError handler to allow us to act accordingly.