...
Supported platforms and browsers
Chrome | Firefox | Safari 11 | Edge | |
---|---|---|---|---|
Windows | + | + | + | |
Mac OS | + | + | + | |
Android | + | + | ||
iOS | - | - | + |
Operation flowchart
- The browser connects to the server via the Websocket protocol and sends the publish command.
- The browser captures the microphone and the camera and sends the WebRTC stream to the server.
- The second browser establishes a connection also via Websocket and sends the play command.
- The second browser receives the WebRTC stream and plays this stream on the page.
...
Note than the setting affects only the streams which are not transcoded on this server
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
Code Block | ||||
---|---|---|---|---|
| ||||
stream = session.createStream(options).on(STREAM_STATUS.PLAYING, function (stream) {
stream.muteRemoteAudio();
stream.unmuteRemoteAudio();
}).play(); |