Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Supported platforms and browsers


Chrome

Firefox

Safari 11

Edge

Windows

+

+


+

Mac OS

+

+

+


Android

+

+



iOS

-

-

+


Operation flowchart

 

  1. The browser connects to the server via the Websocket protocol and sends the publish command.
  2. The browser captures the microphone and the camera and sends the WebRTC stream to the server.
  3. The second browser establishes a connection also via Websocket and sends the play command.
  4. 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
languagejs
themeRDark
    stream = session.createStream(options).on(STREAM_STATUS.PLAYING, function (stream) {
        stream.muteRemoteAudio();
        stream.unmuteRemoteAudio();
    }).play();