Find file History

README.md

Chrome desktopCapture extension

This chrome extension not only captures content of screen, but also provides multi-user peer-to-peer screen streaming.

How to install?

Try it now

How to view screen?

Try any of the below URL. Replace your_room_id with real room-id:

https://webrtcweb.com/screen?s=your_room_id
https://www.webrtc-experiment.com/!/?s=your_room_id
https://cdn.webrtc-experiment.com/!/?s=your_room_id
https://cdn.rawgit.com/muaz-khan/Chrome-Extensions/master/desktopCapture-p2p/viewer.html

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:

How to add inline-install button?

Make sure that you added and verified your webpage/domain using Google WebMaster tools. Additional instructions available here.

<!DOCTYPE html>
<html>
    <head>
        <!-- head; this <link> tag MUST be in <head> section -->
        <link rel="chrome-webstore-item" href="https://chrome.google.com/webstore/detail/your-chrome-extension-id">
    </head>
    <body>
        <!-- body; the button element that is used to invoke inline installation -->
        <button onclick="" id="install-button" style="padding: 0;background: none;height: 61px;vertical-align: middle;cursor:pointer;">
            <img src="https://www.webrtc-experiment.com/images/btn-install-chrome-extension.png" alt="Add to Chrome">
        </button>

        <script>
            document.querySelector('#inline-install').onclick = function() {
                !!navigator.webkitGetUserMedia 
                    && !!window.chrome 
                    && !!chrome.webstore 
                    && !!chrome.webstore.install && 
                chrome.webstore.install(
                    'https://chrome.google.com/webstore/detail/your-chrome-extension-id', 
                    successCallback, 
                    failureCallback
                );
            };

            function successCallback() {
                location.reload();
            }

            function failureCallback(error) {
                alert(error);
            }
        </script>
    </body>
</html>

For more information

For additional information, click this link.

License

Chrome-Extensions are released under MIT licence . Copyright (c) Muaz Khan.