cbscreen

0.0.2 • Public • Published

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

  • [x] Chrome
  • [ ] Firefox (Not tested)
  • [ ] Opera (Not tested)
  • [ ] Safari (Not tested)

Readme

Keywords

none

Package Sidebar

Install

npm i cbscreen

Weekly Downloads

2

Version

0.0.2

License

MIT

Unpacked Size

3.83 kB

Total Files

4

Last publish

Collaborators

  • kagamox