0.0.2 • Published 4 years ago

cbscreen v0.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

cbscreen

cbscreen is a cross-browser screenshare library

Example

<!DOCTYPE html>
<head>
    <title>Example</title>
</head>
<body>
    <script src="./cbscreen.js"></script>
    <script>
        let screen = new cbscreen.ScreenShare();
        screen
            .enableAudio()
            .enableVideo()
            .start()
            .then(x => {
                console.log(x); // x is an mediastream
            })
    </script>
</body>

Compatibility

  • Chrome
  • Firefox (Not tested)
  • Opera (Not tested)
  • Safari (Not tested)