RTCMultiConnection Docs

RTCMultiConnection API Reference / "interval"

  1. If transmitRoomOnce is "false"; then you can set looping interval for session transmission.
  2. connection.transmitRoomOnce = false;
    connection.interval = 3000; // in milliseconds
    
    var sessions = {};
    connection.onNewSession = function(session) {
         if(sessions[session.sessionid]) return;
         sessions[session.sessionid] = session;
    };
    


Want to ask a Question?

You can include your email for private conversation!