github Dash-Industry-Forum/dash.js v2.4.0
Dash.js v2.4.0

Features/Enhancements
#1360 Dynamic Multiperiod Stream Support
#1418 Support IMSC-1 image subtitle profile
#1667 Allow immediate switching when top quality index changes
#1612 get BOLA to work with fast switching
#1674 Update TTML subtitles management.
#1267 Update externals/xml2json.js
#1607 Allow xhr.withCredentials to be set per request type
#1604 Adds getLiveDelay to MediaPlayer API

Bug Fixes
#1588 Multi-representation video-only OR audio-only streams throw TypeError
#1638 Uncaught TypeError in StreamController occurs when video loops
#1583 getFastSwitchEnabled missing jsdoc references
#1435 Event String names should be consistently cased
#1224 Encrypted audio only packages doesn't request key from license server or respect setProtectionData() EME/DRM
#869 minRefreshDelay is not honored
#1704 Fail properly when BaseURL Resolution fails
#1703 Fix #1702 - ensure replacements are re-requested on failure
#1701 [BaseURL] serviceLocation is a request attribute, not an event attribute
#1594 Resolve relative BaseURLs more in line with the spec
#1696 Report MediaError.message if it exists (eg Firefox)
#1685 Metrics Reporting: fix List type serialisation and add a couple of tests
#1683 Bug fix image subtitles
#1687 CEA-608 rendering broken
#1690 Fix cea608 scaling
#1623 Bugfix for rendering CEA608 captions embedded in H264 SEI
#1613 Only check element clientWidth on window resize
#1602 only set non-empty MediaCapabilities on MediaKeySystemConfiguration
#1593 Fix Edge malformed start tag warning
#1591 Add check in pruneBufferif SourceBuffer is defined
#1585 Removes forcing preload to auto
#1577 additional undefined checks before referencing window
#1575 MPD xs:string parse fix

Controls/Player
#1579 Updated Axinom conservative test vectors
#1600 Fixed link for v7 encrypted single-key (audio only)
#1608 Enable HTML-rendered TTML in ref player if Firefox is at least v49
#1521 Nightly Machine Builds
#1580 Audio only stream causes exception in ControlBar.js that prevents playback
#1653 Cannot type URL in Reference Player. Looses focus after angular update
#1596 Choice of subtitle language broken in 2.3
#1571 manual video bitrate change in dash.js 2.3 on every dynamic abr manifest is faulty
#1587 Multi-representation video-only OR audio-only streams throw TypeError

Known Issues

  • Dynamic Multiperiod is NOW supported and implemented. Note we only had one test vector to develop with and there are intermittent failures. We need some more test content to verify if it is content of player related. Please test with your own live multiperiod content and report bugs to the tracker.
  • Streams using high profile codecs may not play properly.
  • Only streams with segmentAlignment='true' will work with abr.
latest releases: v3.1.3, v3.1.2, v3.1.1...
3 years ago