Chrome tabCapture extension
This chrome extension not only captures content of the selected tab, but also provides multi-user peer-to-peer tab-streaming.
Codes to view the shared tab
index.html
How to install?
How to capture stream using tabCapture APIs?
chrome.tabs.getSelected(null, function (tab) {
var video_constraints = {
mandatory: {
chromeMediaSource: 'tab'
}
};
var constraints = {
audio: false,
video: true,
videoConstraints: video_constraints
};
chrome.tabCapture.capture(constraints, function (stream) {
// it is a LocalMediaStream object!!
});
});
How to publish yourself?
Make ZIP of the directory. Then navigate to Chrome WebStore Developer Dashboard and click Add New Item blue button.
To learn more about how to publish a chrome extension in Google App Store:
For more information
For additional information, click this link.
Disclaimer
There is no warranty, expressed or implied, associated with this product. Use at your own risk.
License
Chrome-Extensions are released under MIT license . Copyright (c) Muaz Khan.