File tree 3 files changed +14
-1
lines changed
3 files changed +14
-1
lines changed Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
3
3
--------------------------------------------
4
+ [ 1.2.0] - 2024-04-08
5
+
6
+ * feat: add keyRingSize/discardFrameWhenCryptorNotReady to KeyProviderOptions.
7
+
4
8
[ 1.1.2] - 2023-09-14
5
9
6
10
* Add more frame cryptor api.
Original file line number Diff line number Diff line change @@ -16,12 +16,19 @@ class KeyProviderOptions {
16
16
required this .ratchetWindowSize,
17
17
this .uncryptedMagicBytes,
18
18
this .failureTolerance = - 1 ,
19
+ this .keyRingSize = 16 ,
20
+ this .discardFrameWhenCryptorNotReady = false ,
19
21
});
20
22
bool sharedKey;
21
23
Uint8List ratchetSalt;
22
24
Uint8List ? uncryptedMagicBytes;
23
25
int ratchetWindowSize;
24
26
int failureTolerance;
27
+
28
+ /// key ring size should be between 1 and 255
29
+ /// default is 16
30
+ int keyRingSize;
31
+ bool discardFrameWhenCryptorNotReady;
25
32
Map <String , dynamic > toJson () {
26
33
return {
27
34
'sharedKey' : sharedKey,
@@ -30,6 +37,8 @@ class KeyProviderOptions {
30
37
'uncryptedMagicBytes' : uncryptedMagicBytes,
31
38
'ratchetWindowSize' : ratchetWindowSize,
32
39
'failureTolerance' : failureTolerance,
40
+ 'keyRingSize' : keyRingSize,
41
+ 'discardFrameWhenCryptorNotReady' : discardFrameWhenCryptorNotReady,
33
42
};
34
43
}
35
44
}
Original file line number Diff line number Diff line change 1
1
name : webrtc_interface
2
2
description : WebRTC Interface for Dart-Web/Flutter.
3
- version : 1.1.2
3
+ version : 1.2.0
4
4
homepage : https://flutter-webrtc.org
5
5
6
6
environment :
You can’t perform that action at this time.
0 commit comments