Skip to content

Releases: bilibili/flv.js

v1.6.2

13 Sep 02:32
@xqq xqq
4234308
Compare
Choose a tag to compare

Fix FLV video playback bug introduced in 09982ef

v1.6.1

28 Jul 13:55
@xqq xqq
9671d9c
Compare
Choose a tag to compare
  • Fix broken ES5 compatibility in v1.6.0 #232

v1.6.0

17 Jul 13:28
@xqq xqq
da286e0
Compare
Choose a tag to compare
  • 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

14 Dec 01:37
@xqq xqq
8c1bed1
Compare
Choose a tag to compare

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 for onMetaData 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

06 Mar 14:00
@xqq xqq
v1.4.2
8631a1a
Compare
Choose a tag to compare

Bugfix

  • FetchStreamLoader: Fix potential undetected Early-EOF in latest Chrome which still notifies stream done

v1.4.1

02 Mar 14:50
@xqq xqq
v1.4.1
9cce428
Compare
Choose a tag to compare

Bugfix

  • Fix multipart duration overflow caused by inaccurate segment duration in MediaDataSource

v1.4.0

29 Dec 06:18
@xqq xqq
Compare
Choose a tag to compare

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 in xhr-moz-chunked-loader and xhr-range-loader
  • Fix null reference bug intruduced in v1.3.4

v1.3.4

16 Dec 07:33
@xqq xqq
Compare
Choose a tag to compare

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

01 Sep 09:25
@xqq xqq
Compare
Choose a tag to compare

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

06 Jul 12:30
@xqq xqq
Compare
Choose a tag to compare

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