ios mute issue

hyuk

Member
hi..
I put this code in order to have the voice come out automatically without unmute.
setTimeout(function () {
stream.muteRemoteAudio();
stream.unmuteRemoteAudio();
}, 1500);
However, the video freezes as soon as the mute is released.
Is there a way to watch the audio and video without pressing unmute on the video?
There is one screen interaction before that code.

issue ios - 15.1, 14.7.1
issue macos - 12.1 / safari 15.2




9. Audio goes to voice speaker by default when playing stream in iOS Safari

Symptoms: low audio while WebRTC is playing in iOS Safari, for example, when iOS user is entering chat room

Solution: mute then unmute sound when playback is started. for example

stream = session.createStream(options).on(STREAM_STATUS.PLAYING, function (stream) {
stream.muteRemoteAudio();
stream.unmuteRemoteAudio();
}).play();
 
Top