Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to make a screen recording software with js

const stream = await navigator. mediaDevices. getDisplayMedia({ video: { mediaSource: "screen" } });
const recorder = new MediaRecorder(stream); const chunks = []; recorder. ondataavailable = e => chunks. push(e. ...
recorder. onstop = e => { const completeBlob = new Blob(chunks, { type: chunks[0]. type }); video.
 
PREVIOUS NEXT
Tagged: #screen #recording #software #js
ADD COMMENT
Topic
Name
8+6 =