Download the files below directly. The downloads guide provides the public test key and configuration; pair the device code in your own account for testing.
Linux SDK · AMD64
preview / linux 0.3.3
C library and header, runnable C/Go examples, source and test configuration for Intel/AMD 64-bit.
Endpoint and feature configuration below. Start validates and defaults a copy.
StateDir / state_dir
string · required
Absolute owned directory, 0700, not a symlink. Created if absent. Exclusive file lock prevents simultaneous identity use. Keep it across updates; never clone to another device.
Fleet / fleet
bool · false
Opt in to remote batch commands as the host OS user while support runs.
StreamZet key: sz_test_public for evaluation, or an issued sz_live_ key for tenant enrollment. The SDK manages service endpoints and its public transport key.
DeviceName / device_name
string · hostname
Empty uses os.Hostname(); resulting name must be nonblank and at most 128 UTF-8 bytes.
CaptureHelper / capture_helper
string · /usr/lib/streamzet/streamzet-capture
Absolute helper path; required even when terminal mode ignores capture. Existence is checked when desktop capture starts, not during Start.
Mode / mode
string · auto
Empty becomes auto. auto detects the current user’s desktop; terminal forces terminal-only. Other values rejected.
RelayOnly / relay_only
bool · false
true limits WebRTC to relay candidates; requires TURN. false permits direct and relay paths.
ctx: non-nil, not canceled context.Context. options: sdk.Options. Rejects root, invalid config/path, occupied process/state, filesystem/identity failures. ErrRunning means another SDK worker in this process. Success starts async enrollment; no services or signal handlers installed.
Support.Stop()
void
Idempotent, nonblocking cancellation. Does not confirm shutdown completion.
Support.Wait()
error
Blocks until worker ends; nil on normal stop, terminal worker error otherwise. Do not call on a GUI thread.
Support.Done()
<-chan struct{}
Read-only channel closed when all worker cleanup completes.
Support.Identity()
Identity
Thread-safe public snapshot; no secret. DeviceCode fills after enrollment; DeviceID may exist before registration. Not a presence signal.