Reputation: 135
I want do recording the particular part in the page as video with audio . For example when user enter the page will automatic recording what happening occurs (like iframe video )the particular part in the page and the user close the page or click the stop button will stop recording and save video to the file. Now I using Record RTC to do it and try to use canvas method still cannot. Anyone can give me suggestion and solution to do this feature . Thanks for Helping. You can edit in this page. https://stackblitz.com/edit/angular-record-rtc-demo-si2c8x
Upvotes: 1
Views: 2043
Reputation: 58
I suggest using the APIs provided by Kurento to record web pages :
Example with javascript implementation :
var startRecordButton = document.getElementById("start");
startRecordButton.addEventListener("click", startRecording);
function startRecording() {
var options = {
localVideo: videoInput,
remoteVideo: videoOutput
};
webRtcPeer = kurentoUtils.WebRtcPeer.WebRtcPeerSendrecv(options, function(error) {
if(error) return onError(error)
this.generateOffer(onOffer)
});
[...]
}
This is a link to the documentation : Kurento Recorder
Upvotes: 0