Releases: highfidelity/hifi-spatial-audio-js
Releases · highfidelity/hifi-spatial-audio-js
Release v1.1.0
- 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
- This was causing retries to fail immediately because the states weren't what they
- 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
- Add callback for admin-initiated mute, and handling of mute instructions sent from the server
- Updates to automated tests
Release v1.0.0
- 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
Minor update:
- Whether a peer stream is stereo or mono is now exposed in streaming data
Release v0.9.0
- Improved Promise handling for the new setOtherUserGainForThisConnection() function
- Added and improved GitHub Action automated tests
Release v0.8.0
- 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
- 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
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
Patch release!
- Fixed quaternion to euler conversion when pitch was at 90 degrees.
- Removed requirement for
navigator.permissions
from thecheckBrowserCompatibility()
function. - Updated documentation for the special "stop mic stream" version of muting.
Release v0.7.1
- Fixed a bug that prevented anyone from being able to set the WebRTC jitter buffer parameters via the
HiFiCommunicator
constructor. - Properly documented
WebRTCSessionParams
.