rtc-knowledge

Integrate RTC server-side OpenAPI for room management, live streaming relay, and event callbacks.

Updated Apr 30, 2026
One-click install
npx skills add https://github.com/yuezhen-huang/my-bytedance-skillhub --skill rtc-knowledge-yuezhen-huang
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rtc-knowledge
Source: https://github.com/yuezhen-huang/my-bytedance-skillhub/tree/main/rtc-knowledge
Command: npx skills add https://github.com/yuezhen-huang/my-bytedance-skillhub --skill rtc-knowledge-yuezhen-huang

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Integrating a real-time audio and video platform into server-side applications requires navigating OpenAPI authentication, environment configuration, room management, and callback handling, which is error-prone without structured guidance. ## Core Features & Use Cases - Room Management: Disband rooms, remove users, and query room information through RTC server-side OpenAPI. - Live Streaming Relay: Mix multiple audio/video streams in a room and push the merged stream to a CDN address for live broadcast distribution. - Event Callbacks: Receive and verify signed HTTP callbacks for user join/leave events and stream status changes, with retry semantics. - Use Case: A backend engineer building an online education app uses this Skill to create an RTC AppID, configure BOE test environment access, implement signature-verified callback handling in Go, and enable audio slicing for recorded calls. ## Quick Start Use the rtc-knowledge skill to show me how to call the RTC server OpenAPI to create an app and set up a signed message callback endpoint.

Frequently Asked Questions about rtc-knowledge

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I integrate RTC server-side OpenAPI into my backend?

Activate the RTC service in the console, obtain AK/SK credentials, and call the OpenAPI endpoints for room management, app creation, or stream relay. Using a sub-account's AK/SK instead of the main account is recommended for security.

How to verify RTC callback signatures in Go?

Concatenate the EventType, EventData, EventTime, EventId, AppId, Version, Noce fields and the callback secret key, then compute the signature and compare it with the Signature field in the callback payload. Respond with HTTP 200 to acknowledge success.

Can I test RTC integration in a BOE environment?

Yes, point server-side OpenAPI calls to staging-openapi-boe.byted.org and use the BOE RTC console. Clients use the same SDK but call the private SetParameters interface with the rtc.env parameter to target the BOE environment.

Why does my RTC callback keep retrying?

RTC retries a callback up to 2 times when the response status code is not 200 or the response takes longer than 5 seconds. Ensure your callback endpoint returns 200 quickly and processes events asynchronously.

How does RTC live stream relay to CDN work?

RTC mixes multiple audio and video streams in a room into one stream and pushes it to a specified CDN address. You can start or update the relay from the client SDK or the server-side OpenAPI, and the mixing runs on RTC servers.