Git Product home page Git Product logo

tencent-rtc / tuiroomkit Goto Github PK

View Code? Open in Web Editor NEW
128.0 49.0 91.0 489.09 MB

Multi-person Video Conversation uikit, used for various scenarios such as Work Collaboration, Remote Medical, and Online Education.

Home Page: https://trtc.io/products/conference

Swift 9.29% Ruby 0.06% Objective-C 0.26% C 0.15% Java 26.90% C++ 13.60% Batchfile 0.01% QMake 0.06% JavaScript 0.69% SCSS 0.75% TypeScript 16.75% HTML 0.05% Vue 28.11% Dockerfile 0.01% Kotlin 0.07% Shell 0.01% Dart 3.23%
rtc video tencent electron android conference flutter ios uikit web

tuiroomkit's Introduction

English | 简体中文

Tencent Cloud UIKit for Video Conference

TUIRoomKit is Tencent Cloud launched a positioning enterprise meeting, online class, network salon and other scenes of the UI component, through the integration of the component, you only need to write a few lines of code can add similar video conference functions for your App, and support screen sharing, member management, ban the ban painting, chat and other functions. TUIRoomKit supports Android, iOS, Flutter, Web, Electron, Qt and other development platforms.

Important

The commercial version of TRTC Conference (TUIRoomKit) is coming soon. Please contact us to get a free trial of the powerful features of the commercial SDK (version 2.0).
The default download on GitHub is the 2.0 version SDK. You need to contact us through the following method to activate its use:
·Send an email to: [email protected], please be sure to include the SDKAPPID in your email, so we can quickly respond and activate it for you.(Recommended for a quick response)
·Join the Telegram group: https://t.me/+EPk6TMZEZMM5OGY1?s_url=https%3A%2F%2Ftrtc.io.

Features

  • Easy access: Provide open source components with UI, save 90% development time, fast online video conference function.
  • Platform connectivity: TUIRoomKit components of all platforms are interconnected and accessible.
  • Screen sharing: Based on the screen acquisition capability of each platform jointly polished by 3000+ market applications, with exclusive AI coding algorithm, lower bit rate and clearer picture.
  • Member management: It supports multiple standard room management functions such as all mute, single member gag, drawing, inviting to speak, kicking out of the room, etc.
  • Other features: Support room members chat screen, sound Settings and other features, welcome to use.

Make a first video Conference

Here is an example of integration with UI (ie TUIRoomKit), which is also our recommended integration method. The key steps are as follows:

  • Step1:Refer to the official website document to quickly connect TUIRoomKit to your project, the detailed access process of each platform/framework: WebAndroid iOSElectronFlutter.
  • Step2:Create your first multiplayer video conference.

Quick link

  • If you encounter difficulties, you can refer to FAQs, here are the most frequently encountered problems of developers, covering various platforms, I hope you can Help you solve problems quickly.

  • If you would like to see more official examples, you can refer to the example Demo of each platform: Web, Android, iOS, Flutter, Electron.

  • If you would like to see some of our latest product features, you can check the Update Log, here are the latest features of TUIRoomKit, as well as the historical version features iterate

  • For complete API documentation, see Video Conference SDK API Example: including TUIRoomKit (with UIKit), TUIRoomEngine (without UIKit), and conference events Callbacks, etc.

  • If you want to learn more about the projects maintained by Tencent Cloud Media Services Team, you can check our Product Official Website, Github Organizations etc.

Have any questions?

  • Welcome to submit issue
  • Welcome to join our Telegram Group to communicate with our professional engineers! We are more than happy to hear from you,Click to join: https://t.me/+EPk6TMZEZMM5OGY1 Or scan the QR code

tuiroomkit's People

Contributors

1171663207 avatar abyswifter avatar jackyixue avatar jasperdaiyile avatar jeremiahandsome avatar lleihai123 avatar masonqiaoa avatar mintate avatar prenener avatar pualgeorge avatar raingxm avatar ripperliew avatar sophiezzhou avatar tangjianing123 avatar tao-pu avatar tjn637 avatar xuezhiwe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tuiroomkit's Issues

劳烦调整下TUIRoomEngine的podspec吧

TUIRoomEngineTXIMSDK_Customer_iOS版本设置过高(7.0.1212),而TUIContact、TUISearch、TUIOfflinePush依赖的TXIMSDK_Customer_iOS的最新版本目前只到6.9.3557

  In Podfile:
    TUIRoomEngine was resolved to 1.0.0, which depends on
      TXIMSDK_Customer_iOS (~> 7.0.1212)

    TUIRoomKit was resolved to 1.0.0, which depends on
      TUICore/ImSDK_Scenario was resolved to 6.9.3557, which depends on
        TXIMSDK_Customer_iOS (= 6.9.3557)

项目中使用了最新的TUIContact、TUISearch、TUIOfflinePush后,再安装TUIRoomKit报错

onKickedOutOfRoom RoomEventCenter.java:284: error: method does not override or implement a method from a supertype

安卓编译失败, 父类没有 onKickedOutOfRoom方法

> Task :tuiroomkit:compileDebugJavaWithJavac FAILED
/workspace/Android/tuiroomkit/src/main/java/com/tencent/cloud/tuikit/roomkit/model/RoomEventCenter.java:284: error: method does not override or implement a method from a supertype
        @Override
        ^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
1 error

FAILURE: Build failed with an exception.

希望指定版本:

liteavSdk = "com.tencent.liteav:LiteAVSDK_TRTC:latest.release" roomEngineSdk = "com.tencent.liteav.tuikit:tuiroomengine:latest.release"

微信小程序demo无法启动

VM93:9 app.js错误:
Error: module 'lib/TUIRoom/lib/index.js' is not defined

Uncaught FrameworkError
module 'lib/TUIRoom/lib/index.js' is not defined
Error: module 'lib/TUIRoom/lib/index.js' is not defined

VM20 WAServiceMainContext.js:2 Error: module 'lib/TUIRoom/lib/index.js' is not defined
at d (VM35 WASubContext.js:2)

qt creator运行报错

msvc2017_64编译先是rc.exe无法运行,加文件路径也无法运行,还有就是.lib也无法运行,这个怎么解决?

electron和android,ios端不互通

以electron端创建房间,android和ios端作为成员加入房间,

加入后,electron无法看到android和ios新增的成员,并且无法看到和听到android,ios端的音视频流;

成员可以在手机端看到electron共享的屏幕和摄像头。

成员可以被全员禁麦

请问如何解决其互通问题?

iOS共享屏幕后控制台报错

iOS共享屏幕后控制台报如下错误:
DemoApp[7283:1000296] [I][10-26/09:46:23.734+8.0][7283,77827][signal_manager.cc:708]@a700 Network: Signal: C2SResponse: C2SAcquireAuxVideoResponse, Seq:1268978562, Tinyid: 144115242130740731, ErrorCode:-101018

没有onScreenCaptureStarted回调,另一台手机没有接收到数据。这个该如何解决?

iOS Demo 报错

Multiple commands produce '/Users/xxx/Library/Developer/Xcode/DerivedData/DemoApp-bcklqltkvultodgdcijkinogsdgo/Build/Products/Debug-iphonesimulator/DemoApp.app/Frameworks/ImSDK_Plus.framework'

image
image

iOS demo 启动报错

image demo down 下来只运行了pod install ,然后点运行就抱错了

iMac m3芯片

打开小程序开发者的时候报错

[ app.json 文件内容错误] app.json: ["usingComponents"]["trtc-pusher"]: "@tencentcloud/trtc-component-wx/trtc-pusher" 未找到(env: Windows,mp,1.06.2306020; lib: 3.3.1)

Android 5.1 登录注册成功后这个错误java.lang.UnsatisfiedLinkError

java.lang.UnsatisfiedLinkError: No implementation found for void com.tencent.cloud.tuikit.engine.room.internal.TUIRoomEngineJni.nativeInit(int, java.lang.String, java.lang.String, com.tencent.cloud.tuikit.engine.room.internal.TUIRoomEngineJni$EngineConfig, com.tencent.cloud.tuikit.engine.room.internal.TUIRoomEngineJni$ActionCallback) (tried Java_com_tencent_cloud_tuikit_engine_room_internal_TUIRoomEngineJni_nativeInit and Java_com_tencent_cloud_tuikit_engine_room_internal_TUIRoomEngineJni_nativeInit__ILjava_lang_String_2Ljava_lang_String_2Lcom_tencent_cloud_tuikit_engine_room_internal_TUIRoomEngineJni_00024EngineConfig_2Lcom_tencent_cloud_tuikit_engine_room_internal_TUIRoomEngineJni_00024ActionCallback_2)
at com.tencent.cloud.tuikit.engine.room.internal.TUIRoomEngineJni.nativeInit(Native Method)
at com.tencent.cloud.tuikit.engine.room.internal.TUIRoomEngineJni.init(TUIRoomEngineJni.java:45)
at com.tencent.cloud.tuikit.engine.room.internal.TUIRoomEngineImpl.init(TUIRoomEngineImpl.java:36)
at com.tencent.cloud.tuikit.engine.room.TUIRoomEngine.init(TUIRoomEngine.java:46)
at com.tencent.cloud.tuikit.roomkit.model.manager.RoomEngineManager.setup(RoomEngineManager.java:62)
at com.tencent.cloud.tuikit.roomkit.model.TUIRoomKitImpl.setup(TUIRoomKitImpl.java:45)
at com.tencent.liteav.demo.MainActivity.init(MainActivity.java:38)
at com.tencent.liteav.demo.MainActivity.onCreate(MainActivity.java:30)

Issues Template

issue title: 【Platform】-【Version Number】Describe Your Issue

issue content:

  • SDKAppID: 140048xxxx
  • UserID A: xxxxx, UserID B (provide the number of users who are affected)
  • Time: xxxx, e.g. 2022-04-28 19:35
  • Description: Please provide a clear and concise description of the issue. Screenshots, source video, generated video may be helpful if possible.
  • Log files location:
  • iOS or Mac: In the sandbox Documents/log folder.
  • Android: In the /storage/emulated/0/Android/data/application package name/files/log/liteav/ folder.
  • Windows: In the C:/Users/[system username]/AppData/Roaming/liteav/log, i.e. %APPDATA%/liteav/log folder.

Note: Please do not reply to this issue.

跳转链接有问题

文档中的跳转 链接有问题。可能是文档编辑作者的在家办公的问题 留的网址是需要ioa远程办公访问的网址 所以除腾讯内部人员可以访问外其他人无法访问

[electron] vite 使用protocol后会报错

报错如下
Uncaught TypeError: Failed to resolve module specifier "trtc-electron-sdk". Relative references must start with either "/", "./", or "../".

其他资源加载正常,已参考vite的配置

`import resolve from 'vite-plugin-resolve'

resolve({
'trtc-electron-sdk': const TRTCCloud = require("trtc-electron-sdk"); const TRTCParams = TRTCCloud.TRTCParams; const TRTCAppScene = TRTCCloud.TRTCAppScene; const TRTCVideoStreamType = TRTCCloud.TRTCVideoStreamType; const TRTCScreenCaptureSourceType = TRTCCloud.TRTCScreenCaptureSourceType; const TRTCVideoEncParam = TRTCCloud.TRTCVideoEncParam; const Rect = TRTCCloud.Rect; const TRTCAudioQuality = TRTCCloud.TRTCAudioQuality; const TRTCScreenCaptureSourceInfo = TRTCCloud.TRTCScreenCaptureSourceInfo; const TRTCDeviceInfo = TRTCCloud.TRTCDeviceInfo; const TRTCVideoQosPreference = TRTCCloud.TRTCVideoQosPreference; const TRTCQualityInfo = TRTCCloud.TRTCQualityInfo; const TRTCQuality = TRTCCloud.TRTCQuality; const TRTCStatistics = TRTCCloud.TRTCStatistics; const TRTCVolumeInfo = TRTCCloud.TRTCVolumeInfo; const TRTCDeviceType = TRTCCloud.TRTCDeviceType; const TRTCDeviceState = TRTCCloud.TRTCDeviceState; const TRTCBeautyStyle = TRTCCloud.TRTCBeautyStyle; const TRTCVideoResolution = TRTCCloud.TRTCVideoResolution; const TRTCVideoResolutionMode = TRTCCloud.TRTCVideoResolutionMode; const TRTCVideoMirrorType = TRTCCloud.TRTCVideoMirrorType; const TRTCVideoRotation = TRTCCloud.TRTCVideoRotation; const TRTCVideoFillMode = TRTCCloud.TRTCVideoFillMode; const TRTCRoleType = TRTCCloud.TRTCRoleType; const TRTCScreenCaptureProperty = TRTCCloud.TRTCScreenCaptureProperty; export { TRTCParams, TRTCAppScene, TRTCVideoStreamType, TRTCScreenCaptureSourceType, TRTCVideoEncParam, Rect, TRTCAudioQuality, TRTCScreenCaptureSourceInfo, TRTCDeviceInfo, TRTCVideoQosPreference, TRTCQualityInfo, TRTCStatistics, TRTCVolumeInfo, TRTCDeviceType, TRTCDeviceState, TRTCBeautyStyle, TRTCVideoResolution, TRTCVideoResolutionMode, TRTCVideoMirrorType, TRTCVideoRotation, TRTCVideoFillMode, TRTCRoleType, TRTCQuality, TRTCScreenCaptureProperty, }; export default TRTCCloud.default;,

`

image
image

样例的路径问题

os:win11
git:2.39.1.windows.1

electron的vue2好像路径多了个空格,windows在git clone时候会有错误提示
image

image

image

Windows-Mac 无法编译,Git的文档对Qt环境版本描述有误

希望这个可以给其他遇到类似问题的用户参考一下。官方也最好注明一下
Step1: Clone 下载源码
Step2: 打开RoomApp.vcxproj项目工程文件
Step3:在项目右键>>属性>>QtProjectSetting>>General>>QtInstallation 重新选择一下目前已经安装的Qt环境(最好和Demo一致)
image

m1 mac报错

Release/trtc_electron_sdk.node' (mach-o file, but is an incompatible architecture (have (x86_64), need (arm64e)

web版 打包报错

使用npm run build命令打包报错
D:\Documents\GitHub\trtctest\node_modules\vscode-jsonrpc\lib\common\linkedMap.js:40
return this._head?.value;
^

SyntaxError: Unexpected token '.'
at wrapSafe (internal/modules/cjs/loader.js:1053:16)
at Module._compile (internal/modules/cjs/loader.js:1101:27)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1157:10)
at Module.load (internal/modules/cjs/loader.js:985:32)
at Function.Module._load (internal/modules/cjs/loader.js:878:14)
at Module.require (internal/modules/cjs/loader.js:1025:19)
at require (internal/modules/cjs/helpers.js:72:18)
at Object. (D:\Documents\GitHub\trtctest\node_modules\vscode-jsonrpc\lib\common\api.js:37:21)
at Module._compile (internal/modules/cjs/loader.js:1137:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1157:10)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build: vue-tsc --noEmit --skipLibCheck && vite build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Administrator\AppData\Roaming\npm-cache_logs\2022-06-23T07_00_01_030Z-debug.log

关于直播延时的疑问

TRTC实时音视频产品和快直播的WEBRTC推流延迟上有什么区别

另外我按照腾讯云给出的文档
livePusher.startScreenCapture()
.then(function () {
livePusher.startPush('webrtc://1');
})
.catch(function (error) {
console.log('打开摄像头失败: '+ error.toString());
});
// player-container-id 为播放器容器 ID,必须与 html 中一致
var player = TCPlayer('player-container-id', {
sources: [{
src: 'webrtc://www.****/test',
}],
licenseUrl: 'https://license********', // 参考准备工作部分,在视立方控制台申请 license 后可获得 licenseUrl
});

player.on('webrtcevent', function(event) {

// 从回调参数 event 中获取事件状态码及相关数据
console.log(event);
简单实现了快直播的功能,却发现与腾讯云web推流的示例差别很大,腾讯云官方的示例demo播放非常流畅,而且感受不到延迟,而我实现的demo画面偶尔有一些卡顿,而且延迟稍微比腾讯云官网的示例demo高一点点(能感觉出来操作上的延迟),对此您有什么建议的改进方向我这就去查,谢谢您了

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.