I am trying to record a screen in Chrome extension. In order to do that, I am using
navigator.webkitGetUserMedia(videoConstraints, function(stream) { ...
as videoConstraints I sent :
var videoConstraints = {
audio: false,
video: {
mandatory: { chromeMediaSource: 'screen', maxWidth: 960,
maxHeight: 720, minWidth:960, minHeight:720 },
optional: [
{ minFrameRate: 60 },
{ maxWidth: 640 },
{ maxHeigth: 480 }
]
}
};
unfortunately outcome is pretty laggy. Is there a way I can achieve 60 FPS with this method? Or should I look for another options? Would NaCl be a way to go?