Giter Site home page Giter Site logo

yefengong / electron-webrtc-meeting-room Goto Github PK

View Code? Open in Web Editor NEW

This project forked from thefreeone/electron-webrtc-meeting-room

0.0 1.0 0.0 317.59 MB

A case to create audio-video meeting by electron and mediasoup ; Download release from https://gitee.com/TheFreeOne/electron-webrtc-meeting-room

License: MIT License

TypeScript 39.03% JavaScript 9.16% Java 36.56% HTML 9.48% CSS 5.63% Dockerfile 0.13%

electron-webrtc-meeting-room's Introduction

electron-webrtc-meeting-room

介绍

sfu/mesh的服务端+electron客户端的webrtc音视频会议室方案

sfu-server 基于 mediasoup,右侧发行版已经为windows编译

浏览器使用webrtc需要https,配置麻烦,electron比较简单

如果在体验之后觉得还行,请麻烦点个star,觉得不行,可以在issues或者下方评论留下建议或意见

mesh模式在一台电脑下,十分不推荐自己创建会议复制房号又加入会议的操作,否则会出现高频刺耳的声音

相关技术

模块 说明
node-room-server webrtc信令服务器
sfu-server 流中转服务器
electron-meeting-room-client electron写的客户端

强烈建议在页面右侧下载最新发行版快速体验)

下载源码体验

  • 房间服务器(二选一,或者两者都用)

    • mesh方案: (内网环境不需要sturnserver|turnserver,外网需要额外的sturnserver|turnserver)

      • 安装nodejs 和 typescript

      • 进入node-room-server,执行npm install 下载依赖,执行npm run start开启房间服务器

    • sfu 架构: 服务器中转

      • 安装nodejs 和 typescript

      • 进入sfu-server,编辑config.js设置announcedIp为客户端能访问到的IP地址,执行npm install下载依赖,执行npm run start开启房间服务器

      • 若你的电脑是windows,可能会出现mediasoup编译失败的情况,可以 阅读sfu-server/README.md按照里头的流程来

  • 启动客户端(sfu模式不需要sturnserver|turnserver)

    • npm install 下载依赖npm run start 启动客户端,或者下载发行版
    • 设置中修改相关信息

    登陆

    设置

    单机演示页面

输入图片说明

关于turnserver

本人的stun/turn服务器是使用docker的zolochevska/turn-server

说明

node-room-server 原来源 https://github.com/harcop/webrtc-demo.git

sfu-server 原来源 https://github.com/Dirvann/mediasoup-sfu-webrtc-video-rooms.git

android 来源 https://github.com/haiyangwu/mediasoup-demo-android.git

感觉就像用了别人和发动机和轮子,自己写的车身拼出来的东西

参考资料

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.