Expand description
§TeamTalk SDK for Rust
This crate is a high-level, safety-first wrapper for the BearWare.dk TeamTalk 5 SDK. It provides strict typing and a pure event-driven model for performance and reliability.
§Links
- User guides: https://github.com/BlindMaster24/TeamTalkRust/tree/main/docs
- API reference: https://docs.rs/teamtalk
Re-exports§
pub use async_api::AsyncClient;pub use async_api::AsyncConfig;pub use client::audio::AudioDeviceProfile;pub use client::audio::AudioBlockSink;pub use client::audio::AudioBlockSubscription;pub use client::audio::AudioBlockView;pub use client::audio::CallbackSink;pub use client::audio::UdpSink;pub use client::audio::WriterSink;pub use client::recording::RecordSession;pub use client::recording::RecordingOptions;pub use client::recording::RecordingSampleFormat;pub use client::recording::RecordingSession;pub use client::recording::RecordingTarget;pub use client::recording::SilencePolicy;pub use client::recording::SyncedUserRecording;pub use client::recording::SyncedUserRecordingBus;pub use client::recording::SyncedUserRecordingOptions;pub use client::recording::SyncedUserRecordingSession;pub use client::recording::UserRecordingOptions;pub use client::recording::UserRecordingSession;pub use client::users::LoginParams;pub use client::Client;pub use client::ClientEvent;pub use client::ClientHealth;pub use client::ClientHooks;pub use client::ClientInfo;pub use client::ClientManager;pub use client::ClientRegistry;pub use client::EventContext;pub use client::EventSubscriptionId;pub use client::Message;pub use client::ReconnectConfig;pub use client::ServerInfo;pub use dispatch::ClientConfig;pub use dispatch::ConnectParamsOwned;pub use dispatch::DispatchFlow;pub use dispatch::Dispatcher;pub use dispatch::EventContext as DispatchEventContext;pub use dispatch::ReconnectSettings;pub use events::ConnectionState;pub use events::Error;pub use events::Event;pub use events::Result;pub use mock::MockClient;pub use mock::MockMessage;pub use mock::MockUserBuilder;pub use types::ClientId;pub use types::MessageBuilder;
Modules§
- async_
api - Async wrapper around the polling client.
- client
- Core client type and message wrapper.
- dispatch
- Event dispatcher built on top of
Client::poll. - events
- Event and error types emitted by the TeamTalk client.
- extensions
- loader
- Runtime loader for TeamTalk SDK binaries.
- logging
- Tracing integration for client events.
- mock
- Mock event source for tests and offline simulations.
- types
- Core data structures and constants used by the SDK.
- utils
- Utility helpers used across the TeamTalk SDK.
Functions§
- init
- Initializes the TeamTalk SDK by loading the runtime DLL from the default location.
- init_
with_ path - Initializes the TeamTalk SDK using a custom DLL path.