Skip to Content
WebRTC SDKs

WebRTC SDKs

Vocobase provides SDKs for multiple platforms, enabling you to build voice AI experiences across web, mobile, and embedded systems.

Available SDKs

Web SDKs

JavaScript

Build voice agents for web apps with our lightweight JS SDK.

FeatureDescription
Package@vocobase/voice-client-sdk-js
Size~15KB gzipped
Browser SupportChrome, Firefox, Safari, Edge
RequirementsES2020+, WebRTC support
npm install @vocobase/voice-client-sdk-js

Best for:

  • Vanilla JavaScript projects
  • Framework-agnostic applications
  • Lightweight integrations

React

React SDK with hooks and components for voice agent apps.

FeatureDescription
Package@vocobase/voice-client-sdk
React Version18.0.0+
TypeScriptFull support included
SSRCompatible with Next.js
npm install @vocobase/voice-client-sdk

Best for:

  • React applications
  • Next.js projects
  • Custom voice UIs with hooks

View React Documentation β†’


Native SDKs

Swift

Add voice AI agents in native iOS apps using our Swift SDK.

FeatureDescription
PlatformiOS 15.0+, macOS 12.0+
Swift Version5.7+
Package ManagerSwift Package Manager
StatusComing Soon

Best for:

  • Native iOS applications
  • macOS apps
  • watchOS extensions

Kotlin

Develop Android apps with voice agents using Kotlin SDK.

FeatureDescription
PlatformAndroid SDK 24+
Kotlin Version1.8+
Package ManagerGradle
StatusComing Soon

Best for:

  • Native Android applications
  • Android TV apps
  • Wear OS apps

Embedded SDKs

C++

C++ SDK to enable voice agents on IoT hardware and systems.

FeatureDescription
PlatformsLinux, Windows, macOS, Embedded
StandardC++17
DependenciesWebRTC, OpenSSL
StatusComing Soon

Best for:

  • IoT devices
  • Embedded systems
  • Desktop applications
  • Custom hardware integrations

SDK Comparison

SDKPlatformStatusDocumentation
JavaScriptWebAvailableDocs
ReactWebAvailableDocs
SwiftiOS, macOSComing Soonβ€”
KotlinAndroidComing Soonβ€”
C++Embedded/IoTComing Soonβ€”

Common Features

All Vocobase SDKs share these core capabilities:

  • Real-time WebRTC β€” Low-latency audio streaming
  • Automatic reconnection β€” Handles network interruptions
  • Transcript access β€” Full conversation history
  • Error handling β€” Comprehensive error codes
  • TypeScript/Type definitions β€” Full type support where applicable

Getting Started

  1. Choose your SDK based on your platform
  2. Install the package using your package manager
  3. Configure permissions for microphone (and camera for mobile)
  4. Initialize with your API key and agent name
  5. Build your UI using our hooks or components

Need Help?

Last updated on