networked-audio-analyser and local-audio-analyser hubs components (see audio-feedback.js) working with networked-aframe projects to know when someone is talking.
The local-audio-analyser component is using a local-media-stream-created event that need to be emitted when you select a mic.
Calculating a volume is not done if player-info component has a muted property set to true.
Add an optimization similar to the frame-scheduler system to calculate only one participant volume per frame instead of all participants volume in a frame. (That one I didn't implement yet)
networked-audio-analyser
andlocal-audio-analyser
hubs components (see audio-feedback.js) working with networked-aframe projects to know when someone is talking. Thelocal-audio-analyser
component is using alocal-media-stream-created
event that need to be emitted when you select a mic. Calculating a volume is not done ifplayer-info
component has amuted
property set to true. Add an optimization similar to the frame-scheduler system to calculate only one participant volume per frame instead of all participants volume in a frame. (That one I didn't implement yet)Licensed under MPL 2.0