decrypt abstract method
Future<void>
decrypt(
- RTCRtpReceiver receiver, {
- required String userId,
- E2eeTrackType? trackType,
Decrypts everything receiver delivers from now on.
userId is the remote participant's id — it selects the key that
participant encrypted with. Passing the local user's id here decrypts
with the wrong key and yields e2ee.decryption_failed.
trackType groups replay windows the same way it does for encrypt.
Implementation
Future<void> decrypt(
RTCRtpReceiver receiver, {
required String userId,
E2eeTrackType? trackType,
});