# Tencent RTC RTC Engine — Electron > RTC Engine documentation for Electron platform. ## Core SDK ### Get Started - [Activate Service](https://pre.trtc.io/document/73281.md): Tencent RTC-Engine is a real-time communication SDK offering audio and video call capabilities, cloud recording, mixed-stream transcoding, and live streaming relay. This guide helps users activate the trial service, create applications, run demos, purchase official subscriptions, renew or upgrade editions, and enable automatic renewal. Follow step-by-step instructions to quickly start using Tencent RTC-Engine for your audio and video communication needs. - [Run the Demo](https://pre.trtc.io/document/35089.md): The TRTC-API-Example Electron quickstart guide provides step-by-step instructions for developers to create a Tencent Cloud application, obtain necessary credentials, download sample code, and configure the project to run the TRTC Electron SDK. It addresses prerequisites, key configuration details, and firewall restrictions related to UDP protocol usage. This guide helps developers quickly integrate real-time audio and video communication capabilities on the Electron platform. ### Integration - [2.Importing the SDK](https://pre.trtc.io/document/35097.md): The TRTC Electron SDK Quickstart guide provides step-by-step instructions for developers to integrate the SDK on Windows and macOS platforms. It covers installing Node.js, Electron, and the TRTC Electron SDK, creating executable programs, modifying build configurations, and running build commands. This guide helps developers quickly set up real-time communication capabilities in Electron applications. - [3.Entering a Room](https://pre.trtc.io/document/48049.md): The Electron SDK for Tencent Real-Time Communication (TRTC) provides a quickstart guide to entering an audio/video room. This guide is designed for developers integrating TRTC into Electron applications to enable real-time audio and video communication. It covers key steps including SDK import, instance creation, event listening, parameter assembly for room entry, and using the enterRoom API. The guide explains how to configure TRTCParams and TRTCAppScene for scenarios like video calls, audio calls, and live streaming with roles such as anchor and audience. - [4.Subscribing to Audio/Video Streams](https://pre.trtc.io/document/48811.md): The Electron SDK provides developers with the ability to subscribe to and play audio and video streams of remote users in a TRTC room. This quickstart guide walks through prerequisite setup, subscription mode configuration, entering a TRTC room, and controlling playback of remote audio and video streams including different video stream types. It enables efficient integration of real-time communication features on Electron platform. - [5.Publish Audio/Video Streams](https://pre.trtc.io/document/48050.md): The Electron SDK call guide provides step-by-step instructions for anchors to publish audio and video streams in a TRTC room. It explains how to perform prerequisite setup, enable camera preview with rendering parameters, start mic capture with configurable audio quality modes, and enter a TRTC room to start streaming. This guide helps developers integrate real-time audio and video publishing features using the Electron SDK. - [6.Exiting a Room](https://pre.trtc.io/document/47638.md): The Electron TRTC SDK guide explains how to actively exit a current TRTC room and handle forced exits. It covers prerequisite steps including SDK import and configuration, calling the exitRoom API to leave the room, notifying other users, releasing device permissions, and handling onExitRoom callback reasons such as being kicked out or room closure. - [7.Sensing Network Quality](https://pre.trtc.io/document/47640.md): The TRTC SDK for Electron enables developers to monitor network quality during audio and video calls. This quickstart guide shows how to use the onNetworkQuality callback to detect local and remote network conditions, helping applications respond to poor connectivity scenarios by displaying appropriate UI prompts. It is designed for developers building real-time communication features on the Electron platform. - [8.Enabling Screen Sharing](https://pre.trtc.io/document/47619.md): Tencent Real-Time Communication (TRTC) Electron SDK provides screen sharing capabilities with support for primary stream and substream modes. This quickstart guide explains how to obtain sharing sources, start screen sharing, set video quality parameters such as resolution and bitrate, and watch the shared screen. It is designed for developers integrating screen sharing features in Electron applications using TRTC. - [9.Sharing Computer Audio](https://pre.trtc.io/document/47641.md): The TRTC Electron SDK enables capturing system audio on Mac computers by installing a virtual sound card plugin. This guide explains how to start and stop system audio capturing and adjust its volume, addressing Mac-specific limitations in audio sharing during screen sharing scenarios. It covers the required root access for plugin installation and verification steps using the Audio MIDI Setup app. - [10.Setting Video Quality](https://pre.trtc.io/document/47642.md): The Electron SDK by Tencent RTC provides a comprehensive guide to configuring video quality for video calls and live streaming. It enables developers to adjust resolution, frame rate, and bitrate according to specific project needs, optimizing for smoothness or clarity. This overview covers scenario-based settings, recommended encoding parameters, and QoS policies to enhance user experience across platforms. - [11.Rotating Videos](https://pre.trtc.io/document/47643.md): Tencent RTC Electron SDK enables developers to customize the rotation, rendering modes, and mirror settings of local and remote video images. This guide explains how to control local video rendering parameters using setLocalRenderParams and remote video rendering parameters using setRemoteRenderParams, helping developers tailor video display to their application needs. ### Build with AI - [Overview](https://pre.trtc.io/document/77713.md): Tencent RTC Overview provides a comprehensive guide to integrating AI tools with Chat, Live, Call, Conference, and RTC Engine. It introduces the Model Context Protocol (MCP) server for automated credential generation and supported tools, Agent Skills for natural language task workflows, and LLMs.txt Markdown indexes for documentation. This overview helps developers quickly start, implement scenarios, and access official knowledge base resources with ease. - [Configure MCP Server](https://pre.trtc.io/document/78382.md): The MCP Server configuration guide provides step-by-step instructions to set up the AI-powered MCP solution for TRTC Knowledge Query and UI-Integrated Feature Implementation. This guide helps developers configure MCP in various AI development environments such as Cursor, Codex, Claude, and others by setting necessary environment variables and verifying the setup. It supports multiple platforms including Web, Android, iOS, and Flutter, enabling efficient integration of real-time audio/video features and API queries. - [Install Skills](https://pre.trtc.io/document/78383.md): TRTC Agent Skills is an AI-powered integration assistant SDK designed to simplify the integration of Tencent RTC products. It supports multiple IDEs and guides developers through installation, configuration, and feature integration with natural language commands. This guide covers installation steps, session reload instructions, and how to get started using the Skill for running demos, adding features, troubleshooting, and querying documentation. ### Advanced Features - [Custom Messages / SEI Messages](https://pre.trtc.io/document/47866.md): The TRTC SDK is a real-time communication SDK that enables anchors in a video room to send custom messages to other participants. This guide covers the steps to send custom messages on supported platforms including iOS, Android, Web, macOS, Windows, Electron, and Flutter. It explains how to use the sendCustomCmdMsg API with required parameters such as message ID, data content, and reliability options to ensure ordered and reliable message delivery. ### Client APIs - [Overview](https://pre.trtc.io/document/35141.md): TRTCCloud is the primary API class of the TRTC Electron SDK, providing comprehensive audio and video communication capabilities for desktop applications. It supports room management, CDN streaming, video and audio control, camera and beauty filter settings, custom messaging, and device testing. This API reference details methods for creating and managing TRTCCloud instances, handling callbacks, and controlling media streams, enabling developers to build robust real-time communication solutions on Electron. - [Error Codes](https://pre.trtc.io/document/35142.md): Tencent RTC error codes document provides comprehensive information on error codes related to room entry, room exit, device failures, screen sharing, and other scenarios for the TRTCCloud SDK. It helps developers quickly identify causes and solutions for errors encountered during audio and video call setup and usage on supported platforms. ### FAQ - [FAQs for Beginners](https://pre.trtc.io/document/38104.md): Tencent Real-Time Communication (TRTC) FAQs provide essential information for beginners about the TRTC SDK, including UserSig security, supported platforms, room capacity, live streaming roles, screen sharing, and troubleshooting common issues. This guide helps developers understand how to use TRTC features effectively and resolve typical problems encountered during integration and usage. - [Billing](https://pre.trtc.io/document/42298.md): Tencent Real-Time Communication (TRTC) Billing FAQ provides detailed answers on billing methods, discounts for high-demand customers, usage tracking, and cost estimation. It explains how TRTC services are billed, how to view bills and usage details, and clarifies billing for audio and video durations. The FAQ also covers how free minutes and Monthly Active Users (MAU) are calculated across multiple subscription packages with the same SDKAppID, helping users manage and estimate their TRTC service expenses effectively. - [Features](https://pre.trtc.io/document/36057.md): Tencent Real-Time Communication (TRTC) SDK offers a comprehensive platform for developing interactive audio and video communication applications. Designed for developers needing group audio/video calls and low-latency live streaming, TRTC supports diverse scenarios such as video calls, live streaming, and voice chat rooms. Key features include flexible role management, manual stream subscription, support for large concurrent audiences, and multi-platform demos for rapid deployment. - [Firewall Restrictions](https://pre.trtc.io/document/35164.md): Tencent TRTC SDK firewall restriction FAQ provides detailed guidance on the ports and domain names to add to firewall allowlists for native SDK and WebRTC clients. It also explains how to configure proxies using Nginx and Coturn to enable client access to the TRTC SDK from private networks, ensuring smooth connectivity and compliance with network security requirements. - [How to Downsize Installation Package](https://pre.trtc.io/document/35165.md): This FAQ document addresses how to reduce the installation package size after integrating the TRTC SDK for iOS and Android platforms. It explains the file size increments caused by the SDK and provides detailed methods such as packaging only specific architectures for iOS, enabling Bitcode, and selectively packaging or downloading .so files for Android. These solutions help developers optimize app size while maintaining TRTC SDK functionalities. - [TRTCCalling for Web](https://pre.trtc.io/document/43096.md): TRTCCalling for Web is a real-time communication SDK based on TRTC and TIM that enables one-to-one and group audio/video calls. This FAQ page helps developers and users resolve common issues such as browser compatibility, network quality testing, device permission errors, and integration challenges. It provides detailed explanations and solutions for errors encountered during audio/video calls and SDK operations to ensure smooth communication experiences. - [Audio and Video Quality](https://pre.trtc.io/document/43094.md): Tencent Real-Time Communication (TRTC) SDK offers comprehensive troubleshooting guidance for audio and video quality issues. This FAQ helps developers and users resolve common problems such as black bars in video images, video stutter, low-quality or blurry videos, audio volume and echo issues, and device status errors. It also explains how to monitor network status and adjust video orientation and mirroring settings to optimize call and streaming experiences. - [Others](https://pre.trtc.io/document/36058.md): Tencent Real-Time Communication (TRTC) FAQ provides solutions to common issues and questions related to live streaming, interactive live streaming, relayed live streaming, and TRTC usage. It covers topics such as differences between streaming types, user ID conflicts, playback stuttering, room entry errors, log viewing, error codes, and cross-room calls. This guide helps developers and users troubleshoot and optimize their TRTC and live streaming experience across multiple platforms including iOS, Android, Windows, and Web. - [Electron FAQs](https://pre.trtc.io/document/43093.md): The trtc-electron-sdk FAQ provides solutions for common problems encountered when integrating the SDK with Electron applications. It addresses installation compatibility, runtime errors such as invalid Win32 application on 32-bit Windows, blank screens after room entry, undefined property errors, frequent reentry issues, installation failures, VS Code crashes on macOS, console errors related to node modules, and packaging module loading issues. This guide helps developers resolve these issues through configuration adjustments, manual downloads, permission settings, and environment tweaks.