MediaStreamRecorder icon indicating copy to clipboard operation
MediaStreamRecorder copied to clipboard

Hope you're working on video recording of whole screen as well .

Open bismoy2013 opened this issue 10 years ago • 4 comments

bismoy2013 avatar Jan 13 '15 07:01 bismoy2013

You can use getSourceId along with MediaStreamRecorder to record entire screen:

  • https://www.webrtc-experiment.com/Screen-Capturing/

You can even check this:

You can try any screen sharing demo from this page and then you can record screen by pasting following code int eh console:

connection.streams.selectFirst({local:true}).startRecording({
    video: true
});

// then you can stop recording:
connection.streams.selectFirst({local:true}).stopRecording(function (blob) {
    video.src = URL.createObjectURL(blob.video);
});

Following demo is also having "record-screen" checkbox:

  • https://www.webrtc-experiment.com/RecordRTC/

muaz-khan avatar Jan 13 '15 07:01 muaz-khan

I actually wanted to record the different facial expressions you can notice on this website : http://stoked-depth-789.appspot.com/ [ Please check it kindly ] . There are plenty of options you can find to change your facial expression . Thought it would be great if you can guide me through on how to record the whole screen activity the way Screencastify, Google chrome plugin does [ https://chrome.google.com/webstore/detail/screencastify-screen-vide/mmeijimgabbpbgpdklnllpncmdofkcpn?hl=en ] . Hope you can help . Thanks :)

bismoy2013 avatar Jan 13 '15 08:01 bismoy2013

Hi Muaz,

When recording using the method you've outlined above, this is using recordRTC instead of MediaStreamRecorder I think. Is that correct? I intend to capture both webcam and screen at the same time and would like to be able to send blobs of the screen capture at regular intervals like I can with the webcam video. Is this possible?

Thanks! Alex

Ajaay avatar Jul 26 '16 16:07 Ajaay

I am getting great results using RecordRTC but I also want to get blobs on time intervals. Is there a way to capture the screen and audio like RecordRTC does but than also split on a time interval like MediaStramRecorder?

JohnGeigerWS avatar Jun 02 '17 22:06 JohnGeigerWS