FrameCryptorFactory class abstract

Factory for creating frame Cryptors. For End 2 End Encryption, you need to create a KeyProvider for each peer. And set your key in keyProvider.

Constructors

FrameCryptorFactory()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

createDefaultKeyProvider(KeyProviderOptions options) Future<KeyProvider>
Shared key manager.
createFrameCryptorForRtpReceiver({required String participantId, required RTCRtpReceiver receiver, required Algorithm algorithm, required KeyProvider keyProvider}) Future<FrameCryptor>
Create a frame Cryptor from a RTCRtpReceiver.
createFrameCryptorForRtpSender({required String participantId, required RTCRtpSender sender, required Algorithm algorithm, required KeyProvider keyProvider}) Future<FrameCryptor>
Create a frame Cryptor from a RTCRtpSender.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited