High-quality Interactive Audio/Video Electron SDK

Overview

实时音视频(TRTC)Electron 版 SDK

实时音视频(TRTC)Electron 版 SDK 包含实时音视频和直播能力。腾讯实时音视频(Tencent Real-Time Communication,TRTC)将腾讯20多年来在网络与音视频技术上的深度积累,以多人音视频通话和低延时互动直播两大场景化方案,通过腾讯云服务向开发者开放,致力于帮助开发者快速搭建低成本、低延时、高品质的音视频互动解决方案。 实时音视频(TRTC)产品请参见:实时音视频(TRTC)

目录结构

本目录包含 Electron 版 TRTC SDK 的 Demo App 源代码,主要包括以下2个 Demo App: TRTC-API-Examples 和 TRTCSimpleDemo。

-  TRTC-API-Examples: 演示 TRTC Electron API 的常见使用场景,方便客户了解 API 接口功能并快速接入到现有工程中,支持应用内编码、执行。

  • TRTCSimpleDemo:最简单的示例代码,主要演示 TRTC 的接口如何调用,以及最基本的音视频功能。
├─ TRTC-API-Examples
├── src
│   ├── app
│   │    ├── main                  // 主进程运行代码
│   │    ├── render                // 渲染进程主窗口运行代码
├── assets
│   ├── app-icon
│   ├── code                       // 示例代码
│   │    ├── basic                 // 基础功能示例代码
│   │    ├── advanced              // 高级功能示例代码
│   ├── debug                      // 包含 GenerateTestUserSig,用于本地生成测试用的 UserSig
├── main.js                        // electron 主进程入口文件
├── preload.js                     // electron 窗口预加载脚本
├── package.json                   // 工程配置
├── package-lock.json
|
├─ TRTCSimpleDemo                  // TRTC精简版Demo,包含通话模式和直播模式示例代码
│  ├── main.electron.js             // Electron 主文件
│  ├── package.json                 // 工程配置
│  ├── vue.config.js                // vue-cli 工程文件
│  ├── src                          // 源代码目录
│  │  ├── pages                     
│  │  │  ├── trtc                   // 演示 TRTC 以通话模式运行的示例代码,该模式下无角色的概念
│  │  │  ├── live                   // 演示 TRTC 以直播模式运行的示例代码,该模式下有角色的概念
│  │  ├── debug                     // 包含 GenerateTestUserSig,用于本地生成测试用的 UserSig

Demo 下载

Electron 版 TRTC Demo 基于 TRTCSDK 设计和实现,Demo 包含实时音视频通话、低延迟直播、屏幕分享、美颜在内的多项功能,请前往SDK 下载页面,下载 Electron 版 TRTC Demo 文件。

相关文档链接

You might also like...

HTML5 audio or video player with support for MP4, WebM, and MP3 as well as HLS, Dash, YouTube, Facebook, SoundCloud and others with a common HTML5 MediaElement API, enabling a consistent UI in all browsers.

HTML5 <audio> or <video> player with support for MP4, WebM, and MP3 as well as HLS, Dash, YouTube, Facebook, SoundCloud and others with a common HTML5 MediaElement API, enabling a consistent UI in all browsers.

One file. Any browser. Same UI. Author: John Dyer http://j.hn/ Website: http://mediaelementjs.com/ License: MIT Meaning: Use everywhere, keep copyrigh

Dec 27, 2022

HTML5 audio or video player with support for MP4, WebM, and MP3 as well as HLS, Dash, YouTube, Facebook, SoundCloud and others with a common HTML5 MediaElement API, enabling a consistent UI in all browsers.

HTML5 <audio> or <video> player with support for MP4, WebM, and MP3 as well as HLS, Dash, YouTube, Facebook, SoundCloud and others with a common HTML5 MediaElement API, enabling a consistent UI in all browsers.

One file. Any browser. Same UI. Author: John Dyer http://j.hn/ Website: http://mediaelementjs.com/ License: MIT Meaning: Use everywhere, keep copyrigh

Jan 8, 2023

jPlayer : HTML5 Audio & Video for jQuery

jPlayer : HTML5 Audio & Video for jQuery Gitter Support for Zepto 1.0+ compiled with the data module. What is jPlayer? jPlayer is a jQuery/Zepto plugi

Dec 27, 2022

Library to calculate a Mean Opinion Score (MOS) from 1 to 5 for audio and video real time communications

RTC SCORE Library to calculate a Mean Opinion Score (MOS) from 1 to 5 for audio and video real time communications. The first version of the algorithm

Nov 27, 2022

Secretly record audio and video with chromium based browsers

snoop TCC restricts access to the device camera and microphone to protect user data from unauthorized access. But... If you trusted your browser with

Aug 30, 2022

Resurrection of mediagroup / MediaController (renamed) which can be used to sync and control multiple audio / video elements.

media-group (examples) Resurrection of the mediagroup attribute and MediaController API (but renamed) which can be used to sync and control multiple a

Dec 15, 2022

Resurrection of mediagroup / MediaController (renamed) which can be used to sync and control multiple audio / video elements.

media-group (examples) Resurrection of the mediagroup attribute and MediaController API (but renamed) which can be used to sync and control multiple a

Aug 2, 2022

This is a simple web based media player for playing video and audio. Build with pure HTML, CSS and Javascript. No framework or library included.

Aim-Player This is a simple web based media player for playing video and audio. Build with pure HTML, CSS and Javascript. No framework or library incl

Jun 27, 2021

Frontend for a social audio & video app

LɪᴛᴛʟᴇAᴘᴇ littleape is a frontend for the free social audio & video social-media platform greatape. littleape, via greatape, is a Fediverse technology

Sep 7, 2022
Comments
  • Code transfer

    Code transfer

    feat: init commit

    This repo contains two trtc-electron-sdk demo App: TRTC-API-Example and TRTCSimpleDemo.

    • TRTC-API-Example demonstrate many common use cases of trtc-electron-sdk API.
    • TTRCSimpleDemo demonstrate how to use trtc-electron-sdk API to start a broadcast or multi-user real-time video/audio calling.
    opened by shixiaolong-tech 0
  • 打包出来的安装程序报错找不到electron-updater包,请问怎样解决,或者怎样实现更新功能

    打包出来的安装程序报错找不到electron-updater包,请问怎样解决,或者怎样实现更新功能

    官方文档:https://cloud.tencent.com/document/product/647/38549  官方demo:https://github.com/LiteAVSDK/TRTC_Electron/tree/main/TRTCSimpleDemo 

    在官方demo基础上添加“electron-updater” 组件(我们使用这个electron官方组件进行客户端的更新), 在入口文件中main.electron.js 添加引用组件: const { autoUpdater } = require('electron-updater');

    打包出来的安装程序报错找不到electron-updater包,请问怎样解决,或者怎样实现更新功能 sdk版本: trtc-electron-sdk v10.3.402 终端类型及开发语言: electron,vue2,trtc-electron-sdk 机型以及版本: trtc-electron-sdk,windows,mac

    opened by majiameng 1
Owner
LiteAVSDK
high-quality interactive audio/video services, eg: rtc、live etc
LiteAVSDK
A Javascript library for working with Audio. It provides a consistent API for loading and playing audio on different browsers and devices. Currently supports WebAudio, HTML5 Audio, Cordova / PhoneGap, and a Flash fallback.

SoundJS SoundJS is a library to make working with audio on the web easier. It provides a consistent API for playing audio in different browsers, inclu

CreateJS 4.3k Dec 31, 2022
Audio visualizer library for javascript. Create dynamic animations that react to an audio file or audio stream.

Wave.js Audio visualizer library for javascript. Installation Install With CDN <script src="https://cdn.jsdelivr.net/gh/foobar404/wave.js/dist/bundle.

Austin Michaud λ 497 Dec 21, 2022
High-quality WebRTC SDK

腾讯云实时音视频 TRTC SDK 产品介绍 腾讯实时音视频(Tencent Real-Time Communication,TRTC),将腾讯多年来在网络与音视频技术上的深度积累,以多人音视频通话和低延时互动直播两大场景化方案,通过腾讯云服务向开发者开放,致力于帮助开发者快速搭建低成本、低延时、高

LiteAVSDK 58 Dec 18, 2022
A high-performance, interactive and customizable video player control, built upon Reanimated v2 & GestureHandler v2

`JSThread` to `JSThread`, `UIThread` to `UIThread`. React Native Reanimated Expo Player 100% written in Typescript video player component, interaction

Alan Toa 58 Jan 4, 2023
:musical_score: ts-audio is an agnostic library that makes it easy to work with AudioContext and create audio playlists in the browser

ts-audio · ts-audio is an agnostic and easy-to-use library to work with the AudioContext API and create Playlists. Features Simple API that abstracts

Evandro Leopoldino Gonçalves 284 Dec 25, 2022
AmplitudeJS: Open Source HTML5 Web Audio Library. Design your web audio player, the way you want. No dependencies required.

Documentation • Examples • Tutorials • Support Us • Get Professional Help AmplitudeJS is a lightweight JavaScript library that allows you to control t

Server Side Up 3.9k Jan 2, 2023
Advanced Music Bot It is an advance type of discord music bot which plays high quality of music with spotify

Advanced Music Bot It is an advance type of discord music bot which plays high quality of music with spotify, apple music support . You can save your songs and play it. It also has DJ mode system.

Diwas Atreya 65 Dec 25, 2022
High-quality* music player.

Laudiolin A very simple music player written in TypeScript using Tauri and React. pronounced eL-auDiO-liN Running Clone the project run npm i run npm

null 12 Dec 21, 2022
Rip video from p***hub at highest quality

PH4K Rip video from p***hub at it's highest quality. Install Install nodejs. Install ts-node globally: npm i -g ts-node. Install Chrome to default pat

SHINCHVEN 2 Oct 22, 2022
Enables

HTML5 video made easy All it takes is a single line of code to make HTML5 video and audio tags work in all major browsers. How to enable video and aud

Dave Hall 1.3k Dec 17, 2022