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

tuicall-engine-webrtc

Package Overview
Dependencies
Maintainers
4
Versions
136
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tuicall-engine-webrtc

腾讯云 TRTC TUICallEngine

  • 1.4.0
  • Source
  • npm
  • Socket score

Version published
Maintainers
4
Created
Source

TUICallEngine SDK

NPM verison Documents

tuicall-engine-webrtc 是基于腾讯云 即时通信 IM实时音视频 TRTC 两项付费 PaaS 服务构建出的音视频通信组件,支持双人和多人场景下的音视频通话。

环境支持

TUICallEngine SDK 支持市面上主流浏览器,详情参考:浏览器支持情况

如果想了解含 UI 音视频通话组件,可以访问 TUICallKit/Web

请务必使用 HTTPS 协议或者 localhost 来部署您的 Web App,否则会出现找不到 navigator.mediaDevices 错误!
Chrome
Chrome
IE / Edge
Edge
Firefox
Firefox
Safari
Safari
iOS Safari
iOS Safari
Opera
Opera
56+80+56+11+11+46+

Demo

您可以访问在线 Demo 1v1音视频通话体验馆 体验通话效果。

集成 SDK

NPM 集成

  1. 您可以在项目中使用 npm 安装 trtc-js-sdk

    npm install tuicall-engine-webrtc --save
    
  2. 在项目脚本里导入模块。

    import { TUICallEngine, TUICallEvent, TUICallType } from "tuicall-engine-webrtc";
    

Script 集成

在您的 Web 页面中添加如下代码:

<script src="./trtc.js"></script>
<script src="./tim-js.js"></script>
<script src="./tsignaling-js.js"></script>
<script src="./tuicall-engine-webrtc.js"></script>
<script>
    const { TUICallEngine, TUICallEvent, TUICallType } =  window['tuicall-engine-webrtc'];
</script>

以上文件下载地址:trtc.jstim-js.jstsignaling.jstuicall-engine-webrtc.js

使用逻辑

SDK 基础使用可访问:TUICallEngine 实现双人通话

文档列表

Keywords

FAQs

Package last updated on 23 Apr 2023

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