API Lifecycle - Sanas Developer Hub

Documentation Index

Fetch the complete documentation index at: /llms.txt

Use this file to discover all available pages before exploring further.

Every integration follows the same six-step sequence, describing the interactions between your application, the SDK, and the Sanas server.

CreateRemoteSDK()          // 1. Allocate the SDK (once per process)
   │
   ▼
Initialize(InitParams)     // 2. Authenticate and connect (once)
   │
   ▼
CreateAudioProcessor(...)  // 3. Open a stream → starts in kInitializing
   │                       //    transitions to kReady asynchronously
   ▼
ProcessSamples(in, out)    // 4. Stream audio while kReady (repeat)
   │
   ▼
DestroyAudioProcessor(p)   // 5. Close the stream
   │
   ▼
Shutdown()                 // 6. Release the SDK

Rules

Runtime helper queries

sdk->IsInitialized();            // bool
sdk->GetActiveProcessorCount();  // size_t
sanas::remote::GetSDKVersion();  // const char*