2
0

Без опису

yourname f48ed3dfcc 📝 docs(architecture): 更新SDK核心架构文档状态和任务完成情况 7 місяців тому
.bmad-core b097957c79 📝 docs(architecture): 添加测试策略文档 7 місяців тому
.claude b9edc4d34e 🔧 chore(config): add claude local settings file 7 місяців тому
docs f48ed3dfcc 📝 docs(architecture): 更新SDK核心架构文档状态和任务完成情况 7 місяців тому
packages 866ed8d21f ✅ test(rtm-manager-adapter): 改进测试中RTM客户端的获取方式并增加测试稳定性 7 місяців тому
public c2e9a5977b init 7 місяців тому
src c2e9a5977b init 7 місяців тому
.eslintignore c2e9a5977b init 7 місяців тому
.eslintrc c2e9a5977b init 7 місяців тому
.gitignore c2e9a5977b init 7 місяців тому
.prettierrc c2e9a5977b init 7 місяців тому
CLAUDE.md 5568892ad5 📝 docs(CLAUDE): 更新项目文档中的包管理器信息 7 місяців тому
README.md defd42adc3 📝 docs(sdk): add STT SDK development documentation 7 місяців тому
index.html c2e9a5977b init 7 місяців тому
package.json bba3662707 ✨ feat(stt-sdk): 新增语音转文字SDK核心包 7 місяців тому
tsconfig.json c2e9a5977b init 7 місяців тому
tsconfig.node.json c2e9a5977b init 7 місяців тому
vite.config.ts 4ae238d1f9 🔧 chore(vite): configure dev server settings 7 місяців тому

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.