MediaStreamRecorder
MediaStreamRecorder copied to clipboard
Hope you're working on video recording of whole screen as well .
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/
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 :)
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
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?