Skip to content

Releases: andy-leezard/react-audio-tracks

v1.2.7

09 Jan 14:38
03a1bd7
Compare
Choose a tag to compare

Patch Changes

  • 29ce783: bugfix - track instance always returning null at first render

v1.2.6

07 Nov 19:32
49027ef
Compare
Choose a tag to compare

Patch Changes

  • 2c98eea: allow accessing audioref on track stream interface and remove a built-in caption property ('description') which should be accessed from the custom 'metadata' property. Keep it less heavy in boilerplate.

v1.2.5

07 Nov 12:13
77210c4
Compare
Choose a tag to compare

Patch Changes

  • 8383035: bugfix/define subtitles on audio registration

v1.2.4

26 Sep 16:13
8b6f478
Compare
Choose a tag to compare

Patch Changes

  • 37009bd: 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.

v1.2.3

30 Aug 13:20
6e86a50
Compare
Choose a tag to compare

Patch Changes

  • 22fe772: Fix RegistrationArgTuple export (2)

v1.2.2

30 Aug 13:08
0be657c
Compare
Choose a tag to compare

Patch Changes

  • 578d7d4: Fix type export: RegistrationArgTuple

v1.2.1

30 Aug 12:45
17ffc20
Compare
Choose a tag to compare

Patch Changes

  • c7527b7: Add feature: control individual tracks' playback rate value

v1.2.0

24 Aug 00:22
ff95e01
Compare
Choose a tag to compare

Minor Changes

  • 1d2a29f: Better support parameter types for registerAudio and registerAudios method.
    Breaking change: the parameter for registerAudios has changed from one array of arguments to the enumerated classic list of arguments for flexibility and readibility.

v1.1.1

18 Jul 22:08
814ff9c
Compare
Choose a tag to compare

Patch Changes

  • 0c63ac7: New track method: isPlaying() and pauseTrack() which is a shortcut of getState().isPlaying and togglePlay(false). Also clarified the ts docs for togglePlay() method.

v1.1.0

06 Jul 17:00
Compare
Choose a tag to compare

Minor Changes

  • f6dd883: Default export changed into a named export (RATM). Also this version introduces the expandable real-time metadata updates (previously limited to 'narrator' metadata.)

Patch Changes

  • Updated dependencies [f6dd883]
    • react-audio-tracks@1.1.0