I would like to record a firefox browser tab through browser extension like Screencastify extension does in chrome. About Recording Session of chrome extension , chrome.tabCapture API is used to get the stream of the currently active tab and to record the stream RecordRTC.js of Web-RTC Experiment is used. Like wise, Is there any API in Mozilla Firefox to get the stream of the tab in Firefox browser.
P.S : I am asking about recording the tab of the firefox not recording the screen or window or through cam.
There are several privileged apis that let you capture parts of windows or xul elements onto a canvas context. The canvas can then be captured into a media stream.