Cargo Features

LiveKit has no features set by default.

[dependencies]
livekit = { version = "0.3.2", features = ["native-tls", "native-tls-vendored", "rustls-tls-native-roots", "rustls-tls-webpki-roots"] }
default

By default ws TLS is not enabled

native-tls

Note that the following features only change the behavior of tokio-tungstenite.
It doesn't change the behavior of libwebrtc/webrtc-sys

Enables native-tls of livekit-api

native-tls-vendored

Enables native-tls-vendored of livekit-api

rustls-tls-native-roots

Enables rustls-tls-native-roots of livekit-api

rustls-tls-webpki-roots

Enables rustls-tls-webpki-roots of livekit-api