@volley/recognition-client-sdk
Version:
Recognition Service TypeScript/Node.js Client SDK
25 lines (21 loc) • 689 B
text/typescript
/**
* Browser-only entry point for Recognition SDK
* Excludes server-side dependencies
*
* Note: This file directly imports browser-compatible modules only,
* avoiding Node.js-specific code like the ws package.
*/
// Import directly from recognition-client
// It uses WebSocketAudioClient which is browser-compatible
export {
RealTimeTwoWayWebSocketRecognitionClient,
type RealTimeTwoWayWebSocketRecognitionClientConfig,
type TranscriptionResult
} from './recognition-client.js';
// Re-export the types needed for browser usage
export {
AudioEncoding,
ControlSignalTypeV1 as ControlSignal,
type GameContextV1,
RecognitionContextTypeV1
} from '@recog/shared-types';