RTCMultiConnection Docs

RTCMultiConnection API Reference / "saveToDisk"

  1. You can save recorded blobs or files to disk using saveToDisk method:
  2. // "fileName" is optional
    connection.saveToDisk(fileURL, fileName);
    
    // you can save recorded blob to disk like this:
    connection.streams['stream-id'].stopRecording(function (audioBlob, videoBlob) {
        connection.saveToDisk(audioBlob);
        connection.saveToDisk(videoBlob);
    }, {audio:true, video:true} );
    

Want to ask a Question?

You can include your email for private conversation!