Actions
Bug #155
closed
JA
JA
sound in chrome: echos
Bug #155:
sound in chrome: echos
Start date:
09/09/2022
Due date:
% Done:
0%
Estimated time:
Description
Sound in firefox works just fine, with or without headset.
But in chrome, there's significant echo when sound plays on speakers, effectively forcing users to use headset.
This is most likely due to how MediaStreams.attachAudioStream() sets up mixer:
var ctx = voice._inputAudioNode.context;
var gainNode = voice.getSoundGain();
voice._streamingSource.connect(voice._soundPanner);
voice._soundPanner.connect(gainNode);
gainNode.connect(ctx.destination);
That's a dirty hack for possible babylon and/or chrome bug that may or may not be there: https://forum.babylonjs.com/t/sound-created-with-a-remote-webrtc-stream-track-does-not-seem-to-work/7047
JA Updated by Josip Almasi over 2 years ago
- Status changed from New to Resolved
- Assignee set to Josip Almasi
JA Updated by Josip Almasi about 2 years ago
- Status changed from Resolved to Closed
Actions