RTCMultiConnection Docs

RTCMultiConnection API Reference / "drop" method

  1. Using drop method; you can drop the call, same like skype! This method will detach all "local" media streams from both sides.
  2. connection.drop();
    
    // "ondrop" is fired; if media-connection is droppped by other user
    connection.ondrop = function() {
    };
    
  3. Remember, "drop" method doesn't drop peer connection; it just removes all attached media streams and renegotiates the peer connection. You need to use "close" or "leave" methods to fully drop peer connection(s).

Want to ask a Question?

You can include your email for private conversation!