Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

trtc-electron-sdk

Package Overview
Dependencies
Maintainers
1
Versions
543
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

trtc-electron-sdk

## Windows

  • 6.6.73
  • npm
  • Socket score

Version published
Weekly downloads
150
decreased by-86.5%
Maintainers
1
Weekly downloads
 
Created
Source

TRTC on Electron

Windows

工程编译

  1. 安装win32 node环境
  2. 安装visual Studio 2015
  3. 确认安装node-gyp,如果node没有自带node-gyp,需要手动安装
  4. npm install
  5. npm start 注意: trtc electron sdk暂只支持win32版本,安装node 请选用win32版本

mac 环境搭建

  • 安装npm:brew install node
  • 安装cnpm:npm install -g cnpm --registry=https://registry.npm.taobao.org
  • 安装Electron:npm install electron -g
  • npm install
  • npm start

技术架构

结构图

  • 单进程

发布

发布npm包
  • npm run prod(暂没用上)

  • 在蓝盾上找到要发的构建版本(http://devops.oa.com/console/pipeline/ecc/p-d5a7e359f7774b24bd9b33f9482851d2/history)

  • 修改版本号(package.json中version字段,与蓝盾的版本号一致)

  • 修改包的main字段 (package.json中"main": "./liteav/trtc.js",原因当前库指向demo)

  • 增加下载命令 (package.json中script项中,增加 "install": "npm run download",)

  • 把这个选项去掉devDependencies

  • npm login (user: trtc_electron_sdk 76629254@qq.com password: 6Ba_8fm2NHF-PBU)

  • electron sdk发布: npm publish

  • 使用sdk: npm install-->从npm下载脚本-->从cos按OS和version号下载版本

  • 网页端查看: https://www.npmjs.com/~trtc_electron_sdk 流程图

当前进度

整理接口
  • 原则: 尽量按TRTC接口,没有的接口参考声网
  • 新增设置绘制的模式,暂时软方式
  • 自定义音视频采集和渲染,放二期
开发进度
  • TRTC Electron Demo 视频流程 ok,可以和正常视频通话;
  • 屏幕分享部分的接口测试,已经ok;
  • 接口完成度80%,后面的20%接口主要体力活。
  • 时间节点: 26号;
缺失和问题
  • 打包成库,周三提供包给saas;
  • 20%的接口补全;
  • 显示上有点方块;
分工
  • jasonxiao win
  • sevenzhu mac

FAQs

Package last updated on 30 Aug 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc