0

The situation

On my site i record the user's screen with MediaDevices.getDisplayMedia() If the user clicks "Stop Sharing" i force him to restart the screen capture and i restart the MediaRecorder

What i want

To connect the 2 recordings into one recording

The Problem

When the MediaStream stops the MediaRecorder also stops (not paused) and its state becomes 'inactive'. I tried creating a single blob from the 2 blobs i have, but the length of the video is the length of the first blob, i have to somehow change the metadata and create a single playable video from 2 different blobs.

The Question

  1. Is there a wait to "pause" the media recorder when its source stops. if the media recorder is paused i can resume it and then the output will work.
  2. If the above is not possible, is there a simple way of concating both blobs in a playable way?

Thanks in advance! :)

Nevo
  • 13
  • 4

0 Answers0