Preview: https://coze.cn/open-platform/realtime/playground
- Ensure you have Node.js (v18+) installed
npm run run-preinstall
npm install
npm run start # disable video by default
# or set enable video to true
REACT_APP_ENABLE_VIDEO=true npm run start # for macos/linux
# Windows users should use either:
set "REACT_APP_ENABLE_VIDEO=true" && npm run start # for windows cmd
$env:REACT_APP_ENABLE_VIDEO="true"; npm run start # for windows powershell
- Visit http://localhost:3000
- Configure your credentials in the settings panel:
- Access Token
- Bot ID
- Voice ID
- API Base URL
- Optional: Use browser extensions for custom headers during testing
- Grant microphone permissions when prompted
- Initialize connection via the "Connect" button
- Microphone control (toggle on/off)
- Bot interaction interruption
- Connection management
- Audio debugging tools:
- Playback device monitoring
- Device status logging
- Diagnostic features
- Real-time event logging in the upper console
- Bot response display in the lower panel
- Detailed console logs for debugging