-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
558dfb2
commit 37009bd
Showing
1 changed file
with
12 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
"react-audio-tracks": patch | ||
--- | ||
|
||
New feature - `updateFrequencyMs` option allows you to subscribe to `timeupdate` events at a fixed custom frequency, eliminating device or browser-specific frequency differences that can result in unexpected user experience. | ||
New feature - `onResolve` callback that runs ONLY when the audio has played successfully without error. | ||
|
||
New property - `useTrackStream` hook provides a new value `trackIsPlaying`, which is a shortcut for `trackInstance.getState().isPlaying`. | ||
New property - `error` state and `ended` states are separated and distinguished in `AudioItemState`. | ||
|
||
+ Minor performance improvements and bug fixes. | ||
|
37009bd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
react-audio-tracks – ./
react-audio-tracks.vercel.app
react-audio-tracks-andylee.vercel.app
react-audio-tracks-git-master-andylee.vercel.app