The official Java SDK for TeleQuick. Targets JDK 17+; built with Gradle, also
publishable as a Maven artifact via pom.xml. Provides a high-level
TeleQuickClient wrapper for zero-trust JWT auth and media streaming.
gradle buildSet TELEQUICK_CREDENTIALS to the path of your credentials.json, then:
import com.telequick.sdk.TeleQuickClient;
import com.telequick.sdk.TeleQuickAudioStream;
public class Main {
public static void main(String[] args) throws Exception {
// Reads TELEQUICK_CREDENTIALS automatically.
TeleQuickClient client = new TeleQuickClient("pbx.telequick.com:443");
// Inspect inbound calls on a trunk.
var calls = client.getIncomingCalls("trunk_123");
// Tap the realtime audio stream.
TeleQuickAudioStream audio = new TeleQuickAudioStream(
"wss://pbx.telequick.com/media/session_456");
audio.onAudio(bytes -> {
// Forward PCM to your LLM.
});
}
}The FFI core (libtelequick_core_ffi.{so,dylib,dll}) is loaded at runtime via
JNI. Set TELEQUICK_LIB_PATH if it isn't on the default loader path; see the
core-sdk repo for build details.