- The plugin is designed to provide an easy way to integrate Tencent's TRTC SDK with Unreal Engine 5.1.
- TRTC SDK version : 11.9.0.15031
- TRTC SDK integration;
- TRTC Video Player Intergration which you can play RTMP and TRTC url for free;
- TRTC living Room / Video Call /Audio Call / Voice Chat Room are okay;
- RenderTargetTexture2D rendering when use UTRTCLivePlayer;
- Clone the repository to your Unreal Engine project's Plugins folder:
cd <YourUnrealProject>/Plugins/ git clone https://github.com/CoderJackLiu/UETRTCPlugin.git
- Open the project in Unreal Engine.
- Enable the plugin in the Plugins menu.
- Play a RTMP /TRTC URL
- TRTC player is free for our users.
- Create a TRTCLivePlayer
UTRTCLivePlayer* TRTCPlayer= NewObject<UTRTCLivePlayer>(); TRTCPlayer->AddToRoot(); TRTCPlayer->InitializePlayer();
- Start play
TRTCPlayer->StartPlay(url);
- StopPlay
TRTCPlayer->StopPlay();
- PauseVideo
TRTCPlayer->PauseVideo();
- You can find it`s API in TRTCLivePlayer.h file.
- Use TRTC as TRTC live room /Video call /audio call
- It is not free for us to use . You should create your accound in tencent cloud https://console.cloud.tencent.com/trtc
- 该插件旨在提供一种将腾讯的TRTC SDK集成到Unreal Engine 5.1中的简单方法。
- TRTC SDK版本:11.9.0.15031
- TRTC SDK集成;
- TRTC视频播放器集成,您可以免费播放RTMP和TRTC URL;
- 支持TRTC直播间/视频通话/语音通话/语音聊天室;
- 使用UTRTCLivePlayer时进行RenderTargetTexture2D渲染;
- 将仓库克隆到您的Unreal Engine项目的插件文件夹中:
cd <YourUnrealProject>/Plugins/ git clone https://github.com/CoderJackLiu/UETRTCPlugin.git
- 在Unreal Engine中打开项目。
- 在插件菜单中启用插件。
- 播放RTMP/TRTC URL
- TRTC播放器对我们的用户是免费的。
- 创建一个TRTCLivePlayer
UTRTCLivePlayer* TRTCPlayer= NewObject<UTRTCLivePlayer>(); TRTCPlayer->AddToRoot(); TRTCPlayer->InitializePlayer();
- 开始播放
TRTCPlayer->StartPlay(url);
- 停止播放
TRTCPlayer->StopPlay();
- 暂停视频
TRTCPlayer->PauseVideo();
- 您可以在TRTCLivePlayer.h文件中找到它的API。
- 将TRTC用作TRTC直播间/视频通话/音频通话
- 使用这些功能并不是免费的。您需要在腾讯云创建账户 https://console.cloud.tencent.com/trtc