Instant Development: A Rapid Guide to Building Interactive Live Streaming and Voice Chat Applications-for Android
Instant Development: A Rapid Guide to Building Interactive Live Streaming and Voice Chat Applications for Android
This document will guide you through quickly building a fully functional live streaming application with interactive features. Through detailed step-by-step instructions, you can easily run the demo and implement core functionalities such as real-time streaming by hosts, live viewing by audience members, and audience members requesting to join the stream for real-time interaction with the host.
By reading this guide, you will be able to:
● Rapidly integrate SDK and API: Master how to complete development environment configuration and SDK integration in a short time.
● Implement core live streaming features: Understand how to set up the complete process for host streaming and audience viewing.
● Support audience interaction: Learn how to implement audience requests to join the stream and interact with the host in real-time, enhancing user experience.
Following this guide, you will quickly construct a stable and efficient live streaming application with interactive capabilities, meeting the needs of various scenarios.
0. General Guide
https://trtc.io/document/39386
This document is a beginner's guide for Tencent Real-Time Communication (TRTC), providing a clear onboarding path for developers who wish to integrate TRTC product features. It covers product introduction, product experience, SDK integration, and other guidance. Reading this document will help developers quickly implement TRTC product functionalities.
1. Introduction to TRTC Basic Concepts
https://trtc.io/document/37714?&
This document aims to introduce some basic concepts that developers may encounter when using the Real-Time Audio and Video (TRTC) service, such as SDKAppID, room, etc. Reading this document can help developers quickly understand the key concepts of TRTC, laying the foundation for smooth integration and use of video call functionality.
2. Quickly Run Related Demos
with UI:
https://trtc.io/document/60454?platform=android&product=live
This guide introduces how to quickly run the video live streaming or voice chat room demo within 10 minutes, ultimately experiencing a fully functional UI interface. The document covers essential steps including environment preparation, demo download and configuration, launching the demo, and experiencing the live streaming process with a complete user interface, ensuring developers can smoothly integrate and test the features of TUILiveKit.
without UI:
https://trtc.io/document/61640?platform=android&product=live
This guide introduces how to quickly run the video live streaming or voice chat room demo within 10 minutes, focusing on backend functionality without a user interface. The document covers essential steps including environment preparation, demo download and configuration, launching the demo, and experiencing the live streaming process through API calls, ensuring developers can smoothly integrate and test the core features of TUILiveKit without relying on a predefined UI.
3. Implementation Guide for Specific Features
● Implementation Guide with UI
Live streamer real-time streaming
https://trtc.io/document/66291?platform=android&product=live#3a2769f3-ab8b-42d3-aecf-011093de657f
This document introduces how to implement real-time stream pushing by hosts with a complete UI interface using the Live product.
Real-time Viewing by Audience
https://trtc.io/document/66291?platform=android&product=live#3a2769f3-ab8b-42d3-aecf-011093de657f
This document introduces how to implement real-time viewing by audiences with a complete UI interface using the Live product.
Audience Request to Join Stream and Real-time Interaction with Host
https://trtc.io/document/64198#
This document introduces how to implement audience requests to join the stream and engage in real-time interaction with hosts using the Live product, featuring a complete user interface (UI).
● Implementation Guide without UI
Real-time Stream Pushing by Host
https://trtc.io/document/61640?platform=android&product=live
This document introduces how to implement real-time stream pushing by hosts without a user interface (UI), using the Live product.
Real-time Viewing by Audience
https://trtc.io/document/61640?platform=android&product=live
This document introduces how to implement real-time stream pushing by hosts using the Live product without a user interface (UI).
Audience Request to Join Stream and Real-time Interaction with Host
https://trtc.io/document/64190?platform=android&product=live
This document introduces how to implement real-time stream pushing by hosts using the Live product without a user interface (UI).
4. Common Questions
https://trtc.io/document/60034?platform=android&product=live
This article primarily addresses common compilation and integration issues encountered when using the Live product, providing solutions for various errors.
5. Console Usage Guide
https://trtc.io/document/39077?product=consoleguide
This document primarily introduces the creation and management process of Tencent RTC (Real-Time Communication) applications. It provides detailed instructions on how to create a new application in the console, including steps such as selecting a product, setting the application name, and choosing the data storage region. The document also describes how to view and manage created applications, including viewing basic application information, SDKAppID, secret key, and other important data. Additionally, it briefly introduces application version types, service status, and some related configuration options. Overall, this is a user-oriented operation guide aimed at helping users effectively use the Tencent RTC console to manage their real-time audio and video projects.
6. Authentication and Security Related Instructions
https://trtc.io/document/35166?product=call&platform=web
This document introduces the user authentication mechanism of Tencent RTC service, focusing on explaining the concept and generation method of UserSig. It provides detailed instructions on how to generate UserSig at different stages of development and offers sample code in various programming languages. For developers, this authentication mechanism enhances security, protects resources and privacy, while providing flexibility and multi-language support, helping to control costs and simplify the development process.
7. Client Demo or SDK Usage Guide (Integration)
https://trtc.io/document/58484
This document is a client-side quick integration guide, specifically addressing how developers can integrate the TUICallKit component into their applications to implement video call functionality. Through concise steps and sample code, the document guides developers to complete the integration in a short time, quickly achieving video call functionality with a complete UI interface, providing an intuitive and practical reference for client-side development.
8. Privacy Terms
https://trtc.io/document/48827?product=privacysla
This privacy policy addresses the privacy concerns most important to developers, such as whether user information, usage data, and other data will be stored by TRTC, and how it will be utilized. It helps developers understand how users' personal information will be processed and protected when integrating and using video call functionality.
9. Data Processing and Security Agreement
https://trtc.io/document/48828?product=privacysla
This agreement provides developers with clear data processing and security guidelines, covering the issues of most concern to developers, such as whether user data passing through the TRTC service provider can be guaranteed not to leak during transmission, and how TRTC's own data security capabilities are. The content in this agreement helps ensure the compliance and security of video call functionality.
10. Purchase Guide Section
Prepaid Package Guide
Currently, TRTC's billing adopts a prepaid package + postpaid model, which can bring you flexible cost management and budget control, ensuring that you can effectively estimate and control expenses when using the service. For details, please see the Billing Overview document.
Prepaid Packages
TRTC's prepaid packages are divided into Starter and Official packages.
The Starter package helps users launch projects at an extremely low cost. The Live Start plan package costs only $39.9/month, enjoying a 93% discount. Its features are comparable to the standard version and can meet the functional requirements of most scenarios. To purchase, please visit the Starter Package Purchase Guide.
The Official package is suitable for customers who are already familiar with our products and wish to continue using them. It includes various plans and usually contains higher resource quotas and priority support to meet users' long-term needs and more complex project requirements. To purchase, please visit the Official Package Purchase Guide.
For specific rules, please see the billing documents:
Postpaid Guide
TRTC defaults to prepaid package billing. When service usage cannot be deducted from a package or exceeds the prepaid package balance, billing will be based on your actual business usage according to the postpaid model. TRTC's postpaid model includes billing items such as audio and video duration, cloud recording and recording delivery, stream mixing and transcoding, and stream pushing. For detailed billing rules, please see the latter part of the Billing Overview document
If you have any questions or need assistance online, our support team is always ready to help. Please feel free to Contact us or join us on Telegram or Discord.