openvidu icon indicating copy to clipboard operation
openvidu copied to clipboard

streamAudioVolumeChange event work incorrect on ios safari

Open chinarui-na opened this issue 3 years ago • 3 comments

i want detect volume change to display progress of volume. code is :

this.listenStreamManager.on('streamAudioVolumeChange', (event) => {
	console.log(event.value.newValue)
	this.valuePercent = 100 + event.value.newValue
	if (this.valuePercent < 0) {
		this.valuePercent = 0
         }
});

pc is ok. but safari on ios the event.value.newValue always is -100

chinarui-na avatar Dec 30 '20 02:12 chinarui-na

Any follow up on this? Having multiple reports of this with Safari iOS users and OpenVidu 2.16.0.

CraigLangford avatar Jan 20 '21 23:01 CraigLangford

Same code on Chrom(pc) and desktop app with Electron work ok. But Safari Ios can not work right, I'm not sure is it because AudioContext work bad on Safari

chinarui-na avatar Jan 21 '21 02:01 chinarui-na

In addition, to subscribers attending, the connection is not stable, occasionally can not hear the sound. It just shows up in Safari

chinarui-na avatar Jan 26 '21 03:01 chinarui-na