Companion
object Companion
Functions
Link copied to clipboard
fun create(userId: String, algorithm: E2EEAlgorithm = E2EEAlgorithm.AES_128_GCM): Result<StreamEncryptionManager>
Creates a manager for userId, which must be the local user's ID — it is the identity outgoing frames are encrypted under, and the one remote peers look up keys by.
Link copied to clipboard
Whether the WebRTC build resolved at runtime supports end-to-end encryption. Check this before create; on a runtime without support, encryption cannot be enabled and the call should be joined unencrypted rather than joined with silently-plaintext media.