기능 및 서버 인터페이스
  • 클라우드 녹화
  • CDN로 전환
  • TRTC를 통한 RTMP 통합
  • 이벤트 콜백
    • 이벤트 콜백
    • CDN으로 릴레이 콜백
    • 클라우드 레코딩 콜백
    • 서명 확인 예시
  • 메시지 보내기 및 받기
  • 접근 관리
    • 개요
    • 인가 가능한 자원 및 작업
    • 사전 설정 정책
    • 사용자 정의 정책
  • 고급 권한 제어 활성화
  • OBS WHIP를 통한 TRTC 룸으로의 푸시 방법
  • 서버 API
    • 인터페이스 분류
    • 과거 기록
    • 인터페이스 요청 보내기
      • 요청 구조
      • 범용 매개변수
      • 서명 방법 v3
      • 서명
      • 회신
    • 룸 관리 인터페이스
      • SetUserBlockedByStrRoomId
      • SetUserBlocked
      • RemoveUser
      • DismissRoom
      • RemoveUserByStrRoomId
      • DismissRoomByStrRoomId
    • 통화 품질 모티터링 인터페이스
      • DescribeRoomInfo
      • DescribeUserEvent
      • DescribeCallDetailInfo
      • DescribeUserInfo
      • DescribeScaleInfo
    • 푸시 풀링 관련 인터페이스
      • StartStreamIngest
      • StopStreamIngest
      • DescribeStreamIngest
    • 클라우드 레코딩 인터페이스
      • CreateCloudRecording
      • DescribeCloudRecording
      • ModifyCloudRecording
      • DeleteCloudRecording
    • 혼합 스트림 릴레이 관련 인터페이스
      • UpdatePublishCdnStream
      • StartPublishCdnStream
      • StopPublishCdnStream
    • 사용량 통계 관련 인터페이스
      • DescribeTrtcUsage
      • DescribeRecordingUsage
      • DescribeMixTranscodingUsage
      • DescribeRelayUsage
      • DescribeTrtcRoomUsage
    • 데이터 유형
    • 에러코드
    • 부록
      • 이벤트 ID 매핑표
이 페이지는 현재 영어로만 제공되며 한국어 버전은 곧 제공될 예정입니다. 기다려 주셔서 감사드립니다.

OBS WHIP를 통한 TRTC 룸으로의 푸시 방법

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 TRTC console and click Application Management on the left sidebar.
2. Click Create Application and enter the application name.
3. Click Create to create the application.



After the application is created, you can view the SDKAppID and SDKSecretKey on the application details page.



SDKAppID: 2000xxxx
SDKSecretKey: yyyyyy
Following that, you must generate a Bearer Token for WHIP, which will be utilized in OBS.

Step 2: Create a Bearer Token for WHIP

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.