Coder Social home page Coder Social logo

godxkey / screencapturedemo Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ajlovechina/screencapturedemo

0.0 0.0 0.0 2.18 MB

🎞一个非常简单值得看看的HTML5采集桌面/应用视频的demo

Home Page: https://ajlovechina.github.io/ScreenCaptureDemo/index.html

JavaScript 89.61% HTML 1.26% Vue 9.13%

screencapturedemo's Introduction

# screen-capture-demo

一个非常简单的获取桌面视频流的demo

依赖库

快速开始

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

Tip: 如果你使用的是Chrome, 请先 : 扩展程序 => 加载已解压的扩展程序 => 选择项目的根目录下面的chrome-extension-sample文件夹 => 完成(记得开启开发者模式)

建议分享桌面的时候不要选择桌面, 而是选择应用, 这样不会出现画中画。

WebRTC相关的API大部分需要走https访问(不安全的https是允许的,比如证书错误)

获取桌面视频流的兼容性问题 : 截止2018年12月13日

firefox,Edge可以开箱即用, 其中win10家庭版Edge浏览器不支持

Chrome需要插件, 未来版本的Chrome计划不依赖插件

Safari暂时不支持,目前也提上日程了

2019年10月11日更新:

  • Safari 在最新版本的safari中已经支持了桌面视频流捕捉
  • Chrome 最新的几个版本都已经不需要插件就可以获取桌面视频流了

screencapturedemo's People

Contributors

ajlovechina avatar dependabot[bot] avatar panda-tv avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.