暫無描述

yourname a1bfd76f45 ✨ feat(rtc): add audio device management capabilities 2 月之前
.bmad-core b097957c79 📝 docs(architecture): 添加测试策略文档 2 月之前
.claude 75aba44d8a 🔧 chore(claude): update allowed commands in settings 2 月之前
docs 46b50817a9 📝 docs(architecture): update SDK core architecture documentation 2 月之前
packages a1bfd76f45 ✨ feat(rtc): add audio device management capabilities 2 月之前
public 36300b1ce6 🔧 chore(project): remove workspaces configuration and update UMD demo script 2 月之前
src a1bfd76f45 ✨ feat(rtc): add audio device management capabilities 2 月之前
tests 98064f3acf ✨ feat(sdk-test): 集成RTC管理器并添加相关测试功能 2 月之前
.eslintignore c2e9a5977b init 2 月之前
.eslintrc c2e9a5977b init 2 月之前
.gitignore 2482c06162 🔧 chore(gitignore): add playwright report directories to gitignore 2 月之前
.prettierrc c2e9a5977b init 2 月之前
CLAUDE.md 5568892ad5 📝 docs(CLAUDE): 更新项目文档中的包管理器信息 2 月之前
README.md defd42adc3 📝 docs(sdk): add STT SDK development documentation 2 月之前
index.html c2e9a5977b init 2 月之前
package.json 36300b1ce6 🔧 chore(project): remove workspaces configuration and update UMD demo script 2 月之前
playwright.config.ts e3696b28c7 ✨ feat(sdk): 添加SDK功能测试页面和端到端测试 2 月之前
tsconfig.json 527bed9966 🔧 chore(tsconfig): update include paths to include stt-sdk-core tests 2 月之前
tsconfig.node.json c2e9a5977b init 2 月之前
vite.config.ts 7b1be268d1 ✨ feat(demo): add UMD format SDK demonstration page 2 月之前

README.md

Agora RTT Web Demo

Prepare

  • node version 18+ , 20+

Config

See Get Started with Agora to learn how to get an App ID and App Certificate. (Certificate must be turned on)

Activate RTM permissions in the console

Contact technical support to activate RTT permissions

Find .env file and fill in the following parameters correctly

VITE_AGORA_APP_ID=<YOUR_APP_ID>
VITE_AGORA_APP_CERTIFICATE=<YOUR_APP_CERTIFICATE>

Install

In the project root path run the following command to install dependencies.

npm install

Dev

Use the following command to run the sample project.

npm run dev

Build

Use the following command to build the sample project.

npm run build

SDK Development

This project includes plans for developing a reusable STT (Speech-to-Text) SDK based on the existing functionality.

SDK Epic and Documentation

SDK Features

The planned SDK will provide:

  • Reusable STT and RTM manager functionality
  • Universal TypeScript interfaces (framework-agnostic)
  • Multi-language transcription and translation support
  • Complete TypeScript type definitions
  • Framework adapters (React, Vue, Angular) as optional packages
  • Comprehensive documentation and examples

Development Status

  • Epic planning and scope definition
  • API specification completed
  • Architecture design completed
  • Package structure designed
  • Implementation (planned)
  • Testing and validation
  • Documentation and examples

For detailed development plans, please refer to the epic documentation.