Skip to content

nicejs-is-cool/cbscreen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cbscreen

cbscreen is a cross-browser screenshare library

Example

<!DOCTYPE html>
<head>
    <title>Example</title>
</head>
<body>
    <script src="https://unpkg.com/cbscreen@latest/index.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, but should work)
  • Opera (Should work as it uses chromium)
  • Safari (Not tested)

About

Cross Browser Screen Share API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published