Releases: bilibili/flv.js
Releases · bilibili/flv.js
v1.6.2
v1.6.1
v1.6.0
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_ARRIVEDcallback event foronMetaDatascript data received - Add
SCRIPTDATA_ARRIVEDcallback event for any AMF script data received - Update
flv.d.tsTypeScript 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
v1.4.1
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
withCredentialsoptions not working inxhr-moz-chunked-loaderandxhr-range-loader - Fix null reference bug intruduced in v1.3.4
v1.3.4
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.fixAudioTimestampGapfield to indicate whether to generate silent frames for audio gap
Improve & bugfix
- Disable silent frame generating under Safari temporarily because of unknown SourceBuffer exception