RTCMultiConnection Docs

RTCMultiConnection API Reference / "snapshots" method

  1. snapshots object contains list of all snapshots you taken using takeSnapshot method.
  2. // iterate over all snapshots/
    for(var snapshot in connection.snapshots) {
        snapshot = connection.snapshots[snapshot];
    }
    
    // or, to access individual snapshot later
    image.src = connection.snapshots['userid'];
    
    // to take a snapshot
    connection.takeSnapshot('userid', function(snapshot) {
        image.src = snapshot;
    });
    

Want to ask a Question?

You can include your email for private conversation!