tencent cloud

Tencent Real-Time Communication

Release Notes and Announcements
Release Notes
Recent Product Announcement
TRTC Live (TUILiveKit) Product Launch Announcement
TRTC Conference Official Editions Launched
The commercial version of Conference is coming soon
Terms and Conditions Applicable to $9.9 Starter Package
Rules for the "First Subscription $100 Discount" Promotion
Announcement on the Start of Beta Testing for Multi-person Audio and Video Conference
TRTC Call Official Editions Launched
License Required for Video Playback in New Version of LiteAV SDK
TRTC to Offer Monthly Packages
Product Introduction
Overview
Concepts
Features
Strengths
Use Cases
Performance Statistics
Tencent RTC Quickplay: Experience Ultimate Real-Time Audio and Video Interaction!
Purchase Guide
Billing Overview
Free Minutes
Monthly subscription
Pay-as-you-go
TRTC Overdue and Suspension Policy
FAQs
Refund Instructions
User Tutorial
Free Demo
Call
Overview
Activate the Service
Run Demo
Integration
Offline Call Push
Conversational Chat
On-Cloud Recording
AI Noise Reduction
UI Customization
Calls integration to Chat
Additional Features
No UI Integration
Server APIs
Client APIs
Solution
ErrorCode
Release Notes
FAQs
Conference
Overview(TUIRoomKit)
Activate the Service (TUIRoomKit)
Run Demo(TUIRoomKit)
Integration(TUIRoomKit)
Screen Sharing (TUIRoomKit)
Schedule a meeting (TUIRoomKit)
In-meeting Call (TUIRoomKit)
UI Customization(TUIRoomKit)
Virtual Background (TUIRoomKit)
Conference Control (TUIRoomKit)
Cloud Recording (TUIRoomKit)
AI Noise Reduction (TUIRoomKit)
In-Conference Chat (TUIRoomKit)
Robot Streaming (TUIRoomKit)
Enhanced Features (TUIRoomKit)
Client APIs (TUIRoomKit)
Server APIs (TUIRoomKit)
FAQs (TUIRoomKit)
Error Code (TUIRoomKit)
SDK Update Log (TUIRoomKit)
Live
Billing of Video Live Component
Overview
Activating the Service (TUILiveKit)
Run Demo
No UI Integration
UI Customization
Live Broadcast Monitoring
Video Live Streaming
Voice Chat Room
Advanced Features
Client APIs
Server APIs
Error Codes
Release Notes
FAQs
RTC Engine
Activate Service
SDK Download
API Examples
Usage Guidelines
API Reference Manual
Advanced Features
AI Integration
Overview
Configure MCP Server
Install Skills
Integration Guide
FAQ
RTC RESTFUL API
History
Introduction
API Category
Room Management APIs
Stream mixing and relay APIs
On-cloud recording APIs
Data Monitoring APIs
Pull stream Relay Related interface
Web Record APIs
AI Service APIs
Cloud Slicing APIs
Cloud Moderation APIs
Making API Requests
Call Quality Monitoring APIs
Usage Statistics APIs
Data Types
Appendix
Error Codes
Console Guide
Application Management
Package Management
Usage Statistics
Monitoring Dashboard
Development Assistance
Solution
Real-Time Chorus
FAQs
Migration Guide
Billing
Features
UserSig
Firewall Restrictions
How to Downsize Installation Package
Android and iOS
Web
Flutter
Electron
TRTCCalling for Web
Audio and Video Quality
Others
Legacy Documentation
RTC RoomEngine SDK(Old)
Integrating TUIRoom (Web)
Integrating TUIRoom (Android)
Integrating TUIRoom (iOS)
Integrating TUIRoom (Flutter)
Integrating TUIRoom (Electron)
TUIRoom APIs
On-Cloud Recording and Playback (Old)
RTC Analytics Monthly Packages (Previous Version)
Protocols and Policies
Compliance
Security White Paper
Notes on Information Security
Service Level Agreement
Apple Privacy Policy: PrivacyInfo.xcprivacy
TRTC Policy
Privacy Policy
Data Processing And Security Agreement
Glossary

How to push stream to TRTC room with OBS WHIP

PDF
Focus Mode
Font Size
Last updated: 2024-08-07 10:53:53

Overview

OBS includes WHIP support, which allows you to do many interesting things by combining the powers of both OBS and WHIP.
WHIP is a standard protocol that lets you use HTML5 and different clients to publish and play live streams. Plus, you can use open-source tools to build your own live streaming platform.
You can also use TRTC (Tencent Real-Time Communication) cloud services with OBS WHIP support for a streaming platform. This is a great option if you don't want to build your own platform or need a more reliable and stable platform with dedicated support.
Additionally, TRTC (Tencent Real-Time Communication) provides a free trial that includes a specific amount of streaming time, making it super easy for you to try out.
If you need help or run into any problems, don't hesitate to contact us on Discord.

Prerequisites

Before you move forward, double-check that you've got these necessary items ready:
OBS with WHIP support, please download from OBS
TRTC (Tencent Real-Time Communication) account, please register here
Next, you need to create a TRTC application and generate a Bearer Token for WHIP.

Step 1: Create a TRTC application

Please follow the steps below to create a TRTC application:
1. Log in to the Tencent RTC Console and click Create Application.



2. In the creation pop-up, based on the actual business needs, select a product and enter the application name, select the Data Storage Region, and click Create.



3. After completing the application creation, you will automatically enter the application details page of the selected product. You can view the SDKAppID and SDKSecretKey in the Application Overview, which will be used in subsequent steps.




Step 2: Create a Bearer Token for WHIP

Following that, you must generate a Bearer Token for WHIP, which will be utilized in OBS.
You can directly visit https://tencent-rtc.github.io/obs-trtc/bearer.html to create a WHIP Bearer Token. Ensure that use the AppID with your own SDKAppID and secret with your own SDKSecretKey, then click the Generate Bearer Token button.



Note:
You can also access the url https://tencent-rtc.github.io/obs-trtc/bearer.html?appid=2000xxx&secret=yyyyyy to setup the parameters.
Next, use the generated WHIP Bearer Token to configure OBS.

Step 3: Configure OBS

In the OBS WHIP section, you will find the generated WHIP Server and Bearer Token for configuring OBS.



Please follow the steps below to configure OBS:
1. Open OBS and click Settings.
2. Click Stream on the left sidebar.
3. Select WHIP for Service.
4. Make sure to input the Server and Bearer Token accurately.
5. Click OK to save the settings.
6. Click Start Streaming to start.



At this point, the stream is streaming to the TRTC service.

Step 4: Play the stream

Open the previous webpage, go to the WHEP Player section, and click Play Stream to play the stream via WHEP.



Another option is to go to the TRTC Room section, and click Join Room to access the TRTC room and watch the stream via TRTC, or you can utilize the TRTC mobile SDK to join the room and view the stream.



Since both WHIP and WHEP are standard protocols, you can utilize any client that supports them to play the stream.

Conclusion

We looked into using TRTC (Tencent Real-Time Communication) cloud services to make a stronger streaming platform and the steps needed to create a TRTC app with OBS WHIP help. These tools make it easier to organize and provide real-time live streaming experiences for different situations, with the power of OBS.
If you require assistance or encounter any difficulties, please feel free to reach out to us via Discord.

Help and Support

Was this page helpful?

Help us improve! Rate your documentation experience in 5 mins.

Feedback