// VoiceSDK Usage Example
const voiceSDK = new VoiceSDK({
websocketUrl: 'wss://speech.talktopc.com/ws/conv',
agentId: 'your_agent_id',
appId: 'your_app_id'
});
voiceSDK.on('connected', () => console.log('Connected!'));
voiceSDK.on('recordingStarted', () => console.log('Recording...'));
await voiceSDK.connect();
await voiceSDK.startRecording();