Conversation recording - composite

This demo exposes a video conference sample with the possibility to record it.

Recording will be a composite of all the stream published in conference.

Recording is created after the recording stop : a delay is mandatory before the recording availability as we process the videos to create a composite.

Connect to the conference

Check our tutorial on conversation to have details about the conversation bases.

Add event listener on Conversation##recordingAvailable

recordingAvailable event is fired when the recording is available on our dashboard.

The recording URL (mediaURL) is available when you start your record.

            .on('recordingAvailable', function(recordingInfo) {
                console.log('recordingInfo :', recordingInfo);
                console.log('recordingInfo.mediaURL :', recordingInfo.mediaURL);

Start your recording :

Simply call the function connectedConversation.startRecording().

            .then(function (recordingInfo) {
      'startRecording', recordingInfo);
      'startRecording mediaURL', recordingInfo.mediaURL);
            .catch(function (err) {
                console.error('startRecording', err);

Stop your recording :

Simply call the function connectedConversation.stopRecording().

            .then(function (recordingInfo) {
          'stopRecording', recordingInfo);
                    document.getElementById('recordStart').style.display = 'inline-block';
                    document.getElementById('recordStop').style.display = 'none';
                .catch(function (err) {
                    console.error('stopRecording', err);

Live Demo