Skip to content
Discussion options

You must be logged in to vote

It sounds like you are wanting to play with the PannerNode settings. These wont be reflected at all in the GainNode's gain value (the only thing that will change that are the volume buttons on the avatar).

The relevant (default) settings are here https://github.com/mozilla/hubs/blob/master/src/components/media-views.js#L205-L211 for media and here for avatars https://github.com/mozilla/hubs/blob/master/src/components/avatar-audio-source.js#L49-L55 (though note, avatar's default value is overridden in hub.html and both defaults can be overridden by the scene).

For a description of what these values mean you can check out https://developer.mozilla.org/en-US/docs/Web/API/PannerNode.

I don't …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@rishivinod7
Comment options

Answer selected by johnshaughnessy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants