IOS error on two way chat

Thomas Sorensen

New Member
Hi.
When I launch the two way video chat example, the output audio on my iPhone is very low.
This happens when the iPhone is joining the room as the first participant.
To gain the volume I either need to mute/unmute the conversation on the iPhone, or click on the "disallow camera" on the address bar.

Anyone know what might be causing this behavior?
When using my Android (9.0), the audio level is fine.
Here are two videos showing the error.
https://www.dropbox.com/s/t0cbe72rm41jho7/disallow_click.mp4?dl=0
https://www.dropbox.com/s/2q16tftudwufvqp/mute.mp4?dl=0

Regards,
Thomas Sorensen
 

Max

Administrator
Staff member
Good day.
This is a known iOS Safari issue: when subscriber plays a stream from iOS, the audio goes to internal speaker, not loudspeaker. The workaround is mute/unmute sound when playback is started:
Code:
                participant.getStreams()[0].play(document.getElementById(pDisplay)).on(STREAM_STATUS.PLAYING, function (playingStream) {
                    document.getElementById(playingStream.id()).addEventListener('resize', function (event) {
                        resizeVideo(event.target);
                    });
                    playingStream.muteRemoteAudio();
                    playingStream.unmuteRemoteAudio();
                });
This issue was also discussed in this thread.
 
Top