GithubHelp home page GithubHelp logo

zbage / liveone Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lvming6816077/liveone

0.0 0.0 0.0 770 KB

基于WebRTC的HTML5一对一视频聊天项目

HTML 0.26% Vue 7.90% CSS 0.63% JavaScript 91.21%

liveone's Introduction

liveone

基于WebRTC的HTML5一对一视频聊天项目,掘金文章地址:传送门

项目技术栈

前端采用Vue3.0,Vite。

后端采用Node.js,Express,Socket.io。

启动项目

  1. vue前端项目源码:

    安装依赖:

    npm install

    本地dev启动:

    npm run dev

    本地打包build:

    npm run build
  2. server文件夹是后端项目源码:

    安装依赖:

    npm install

    本地启动:

    node server.js

代码逻辑

  1. 对于Vue端主要实现的是视频的预览功能和一些来电或者响应相关的CSS3动画。
  2. 对于Node.js端主要实现的是实时的信息通信(socket.io的room相关API),包括了识别对方的信令信息和用户的一些基本头像昵称信息的通信。
  3. 整体的WebRTC协议的逻辑都是安装上文中所讲解的代码方式来体现。

各位同学也欢迎提PR,共同维护好此项目,祝大家学习愉快!

liveone's People

Contributors

lvming6816077 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.