str0m-apple-crypto

Crates.iostr0m-apple-crypto
lib.rsstr0m-apple-crypto
version0.1.3
created_at2025-12-17 09:58:53.621332+00
updated_at2026-01-12 20:20:18.371882+00
descriptionApple CommonCrypto/Security framework backend for str0m WebRTC
homepage
repositoryhttps://github.com/algesten/str0m
max_upload_size
id1989881
size106,535
Martin Algesten (algesten)

documentation

README

str0m-apple-crypto

Apple CommonCrypto/Security framework backend for str0m.

Usage

The primary way to use this backend is via the apple-crypto feature flag in str0m:

[dependencies]
str0m = { version = "0.14", features = ["apple-crypto"] }

Advanced: Direct usage

For advanced use cases, you can use this crate directly without enabling the feature flag:

use str0m::Rtc;
use std::sync::Arc;

// Set as process-wide default
str0m_apple_crypto::default_provider().install_process_default();

// Or configure per-instance
let rtc = Rtc::builder()
    .set_crypto_provider(Arc::new(str0m_apple_crypto::default_provider()))
    .build();
Commit count: 1731

cargo fmt