RTCMultiConnection Docs

RTCMultiConnection API Reference / "stop"

  1. You can stop a single stream; all local streams; all remote streams; or all media streams:
  2. // stop all local media streams
    // stop all remote media streams
    // stop all media streams
  3. When you stop a media stream; onstreamended event will be fired for all other users.
  4. connection.onstreamended = function (e) {
        // e.mediaElement
        // e.stream
        // e.streamid
        // e.session
        // e.blobURL
        // e.type
        // e.extra
        // e.userid

Want to ask a Question?

You can include your email for private conversation!