2
0

Ei kuvausta

yourname 68ae60e34e ♻️ refactor(core): 重构错误码定义与RTM管理器 4 kuukautta sitten
.bmad-core b097957c79 📝 docs(architecture): 添加测试策略文档 4 kuukautta sitten
.claude b9edc4d34e 🔧 chore(config): add claude local settings file 4 kuukautta sitten
docs 96964fe609 📝 docs(history): update development history and testing results 4 kuukautta sitten
packages 68ae60e34e ♻️ refactor(core): 重构错误码定义与RTM管理器 4 kuukautta sitten
public c2e9a5977b init 4 kuukautta sitten
src 7bb0842309 🔧 chore(sdk-test): update certificate field configuration 4 kuukautta sitten
tests e3696b28c7 ✨ feat(sdk): 添加SDK功能测试页面和端到端测试 4 kuukautta sitten
.eslintignore c2e9a5977b init 4 kuukautta sitten
.eslintrc c2e9a5977b init 4 kuukautta sitten
.gitignore 2482c06162 🔧 chore(gitignore): add playwright report directories to gitignore 4 kuukautta sitten
.prettierrc c2e9a5977b init 4 kuukautta sitten
CLAUDE.md 5568892ad5 📝 docs(CLAUDE): 更新项目文档中的包管理器信息 4 kuukautta sitten
README.md defd42adc3 📝 docs(sdk): add STT SDK development documentation 4 kuukautta sitten
index.html c2e9a5977b init 4 kuukautta sitten
package.json 0c57defddb ✨ feat(scripts): add typecheck script to package.json 4 kuukautta sitten
playwright.config.ts e3696b28c7 ✨ feat(sdk): 添加SDK功能测试页面和端到端测试 4 kuukautta sitten
tsconfig.json 527bed9966 🔧 chore(tsconfig): update include paths to include stt-sdk-core tests 4 kuukautta sitten
tsconfig.node.json c2e9a5977b init 4 kuukautta sitten
vite.config.ts 2482c06162 🔧 chore(gitignore): add playwright report directories to gitignore 4 kuukautta sitten

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.