Skip to content

Releases: highfidelity/hifi-spatial-audio-js

Release v1.1.0

13 May 21:25
7c8bb6b
Compare
Choose a tag to compare
  • Added new getConnectionState() method for checking the state of the current HiFiCommunicator connection
    • will return null if the current state is not available (e.g. if the HiFiCommunicator is still in the process of initializing its underlying HiFiMixerSession)
  • Fix: If there's already a connection, don't connect again
  • Fix: Make sure to await all the disconnect attempts
    • This was causing retries to fail immediately because the states weren't what they
      were expected to be, which in turn was causing oddness with signaling connections getting connected when they shouldn't be
  • Improved user message when already connected
    • Session is already connected! If you need to reset the connection, please disconnect fully using disconnectFromHiFiAudioAPIServer() and call this method again.
  • Removed legacy code that implied that the server broadcast hiFiGain information to all peers

Release v1.0.1

06 May 21:53
ee38209
Compare
Choose a tag to compare
  • Add callback for admin-initiated mute, and handling of mute instructions sent from the server
  • Updates to automated tests

Release v1.0.0

29 Apr 18:11
f182e52
Compare
Choose a tag to compare
  • We now use the input channel for setting other user gains ( setOtherUserGainForThisConnection) instead of command channel to enable real-time updates
  • Prepend otherUserGainQueue with underscore for more emphasis on its internal nature
  • Fix to prevent onConnectionStateChanged handler getting called twice; added a setter for _currentHiFiConnectionState that will only set it and call its handler if the actual state has, in fact, changed
  • Added new API call for setting multiple user gains at once ( setOtherUserGainsForThisConnection )
  • Updated documentation for hifiGain: ❌ The server does not send hiFiGaindata to all clients as part of "peer updates".
  • Updated navigation headers on documentation pages to match new website
  • Improved and added additional automated test cases

Release v0.9.1

23 Apr 17:31
44afeda
Compare
Choose a tag to compare

Minor update:

  • Whether a peer stream is stereo or mono is now exposed in streaming data

Release v0.9.0

16 Apr 19:15
34d164a
Compare
Choose a tag to compare
  • Improved Promise handling for the new setOtherUserGainForThisConnection() function
  • Added and improved GitHub Action automated tests

Release v0.8.0

09 Apr 16:39
a34892e
Compare
Choose a tag to compare
  • Added a new feature that allows for customized, per-connection adjustment of other users' volumes. This now supports the use case of person A wanting to adjust their own perception of person B’s volume, including turning it off entirely.
  • We changed the default port for our signaling (secure websocket) connections to be port 443 instead of the custom port 8001, to provide broader support for users behind firewalls or VPNs.
  • Added Github Actions to run Jest unit and integration tests with every push.

Minor change:

  • Updated logo for High Fidelity Spatial Audio on npmjs.com

Release v0.7.5

02 Apr 19:14
9a26ad7
Compare
Choose a tag to compare
  • Fixed a bug that prevented plain NodeJS apps from running because checkBrowserCompatibility() was being called in the NodeJS context when it should only be called in the browser context.
  • Added ESM as a client library dependency so plain NodeJS app devs don't have to install it themselves.

Release v0.7.4

01 Apr 23:14
5bde06d
Compare
Choose a tag to compare

Patch release!

  • Fix to return the correct error message when client is unable to connect to the mixer because the mixer is at capacity.

Release v0.7.2

01 Apr 18:52
8657eda
Compare
Choose a tag to compare

Patch release!

  • Fixed quaternion to euler conversion when pitch was at 90 degrees.
  • Removed requirement for navigator.permissions from the checkBrowserCompatibility() function.
  • Updated documentation for the special "stop mic stream" version of muting.

Release v0.7.1

25 Mar 20:12
38e795f
Compare
Choose a tag to compare
  • Fixed a bug that prevented anyone from being able to set the WebRTC jitter buffer parameters via the HiFiCommunicator constructor.
  • Properly documented WebRTCSessionParams.