v1.6.2
Fix FLV video playback bug introduced in 09982effa023e3bda8462b811caa5f47535e333f
v1.6.0
- Migrate build system to Webpack 5 + TypeScript compiler
- New silent frame insert algorithm for improving a/v unsync #354
- FetchStreamLoader: Use AbortController to abort download #448 #535
- FLVDemuxer: Skip FLV tags with malformed timestamps #671
v1.5.0
This version adds new API and features without breaking any existing interface and compatibility.
Features
- Support additional request headers when fire http request
- Add custom loader support (
config.customLoader
) - Add
METADATA_ARRIVED
callback event foronMetaData
script data received - Add
SCRIPTDATA_ARRIVED
callback event for any AMF script data received - Update
flv.d.ts
TypeScript Declaration File
Improve and bugfix
- Fix Source too large exception caused by incorrect byte length in
MP4Remuxer
- Fix potential exception under Edge when do removeSourceBuffer in
MSEController
v1.4.2
Bugfix
- FetchStreamLoader: Fix potential undetected Early-EOF in latest Chrome which still notifies stream done
v1.4.1
Bugfix
- Fix multipart duration overflow caused by inaccurate segment duration in MediaDataSource
v1.4.0
Features
- Export H.264 ref_frames into MediaInfo
player.mediaInfo.refFrames
Improve and bugfix
- Support negative cts offset in flv packet
- Avoid using second last sample duration to keep accurate in MP4Remuxer, this will help with some a/v unsync cases which has unstable network or framerate.
- Fix
withCredentials
options not working inxhr-moz-chunked-loader
andxhr-range-loader
- Fix null reference bug intruduced in v1.3.4
v1.3.4
Improve & bugfix
- Refine last sample duration calculation logic in MP4Remuxer to be accurate
- This will fix potential a/v unsync if under low connection speed
v1.3.3
Improve & bugfix
- Fix FetchStreamLoader memory leak caused by infinite Promise waiting, thanks to @spacemeowx2
- XhrRangeLoader: Avoid full request if filesize is provided in MediaDataSource
- Ignore invalid data if request error (such as 403, 404)
v1.3.2
New Features
- Add logcat callback interface
flvjs.LoggingControl.addLogListener(listener)
- Add
config.fixAudioTimestampGap
field to indicate whether to generate silent frames for audio gap
Improve & bugfix
- Disable silent frame generating under Safari temporarily because of unknown SourceBuffer exception