Skip to main content

Crate rift_sdk

Crate rift_sdk 

Source
Expand description

Rift SDK: high-level API for embedding Rift VoIP in other applications.

This crate wraps mesh, media, discovery, and NAT components into a cohesive runtime with a simpler API surface for native embedding.

Modules§

ffi
C FFI bindings for the Rift SDK.

Structs§

AudioConfigSdk
ChatMessage
High-level chat message payload.
DhtConfigSdk
GlobalStats
LinkStats
NetworkConfigSdk
RiftConfig
RiftHandle
Primary SDK handle exposed to callers.
RiftPeerId
RiftQosProfile
QoS profile for adaptive audio tuning.
RiftSessionId
Session identifier derived from channel metadata.
RndzvConfigSdk
SecurityConfig
SrtInvite

Enums§

CodecId
Audio codec identifiers used for voice frames.
FeatureFlag
Feature flags advertised during capability exchange.
GroupMode
Group topology mode for multi-peer calls.
RiftCallState
Call session lifecycle state.
RiftError
High-level SDK error type.
RiftEvent
RndzvRole
RouteKind

Constants§

SDK_ABI_VERSION
SDK_VERSION

Functions§

accept_voice_invite
Parse an SRT invite into a rendezvous token.
create_voice_invite
Create a voice-call SRT invite targeted at a specific peer.