Giter VIP home page Giter VIP logo

webcamera's Introduction

WebCamera

License Nuxt Yarn

WebCamera

WebCamera 是一个基于 WebRTC 技术的网络摄像头监控工具,使用 Nuxt.js 框架开发。

目录

特性

  • 实时视频流: 使用 WebRTC 技术实现高效的实时视频流。
  • 跨平台支持: 兼容多种浏览器和设备。
  • 易于开发: 基于 Nuxt.js 框架,方便扩展和维护。
  • 模块化设计: 便于功能的扩展和集成。
  • 隐私安全: 使用点对点加密连接,保护隐私安全。

安装

在开始之前,请确保您的系统已经安装了 Node.jsYarn

  1. 克隆仓库
git clone https://github.com/ShouChenICU/WebCamera.git

cd WebCamera
  1. 安装依赖
yarn install

使用

  1. 启动开发服务器
yarn run dev
  1. 打开浏览器访问 http://localhost:3000

  2. 摄像头先连接,然后监控页面填入和摄像头相同的连接ID,点连接,即可连接到摄像头。

构建

  1. 进入项目根目录执行
yarn run build
  1. 构建输出在 .output 目录中
  2. 进入 .output 执行如下命令即可启动服务
node server/index.mjs

自部署请注意: 浏览器媒体权限(摄像头和麦克风等)需要地址为localhost或使用HTTPS才能正常申请和启用,请自行配置HTTPS部署。

Docker运行

docker build -t webcamera .
docker run -d -p 3000:3000 webcamera

贡献

我们欢迎任何形式的贡献!如果你有任何建议或发现了 bug,请提交一个 issue 或者发送一个 pull request。

  1. Fork 本仓库
  2. 创建一个新的分支 (git checkout -b feature-branch)
  3. 提交你的更改 (git commit -am 'Add some feature')
  4. 推送到分支 (git push origin feature-branch)
  5. 创建一个新的 Pull Request

许可证

该项目基于 MIT 许可证,详细信息请参阅 LICENSE 文件。


Star History Chart

webcamera's People

Contributors

shouchenicu avatar liguobao 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.