File tree Expand file tree Collapse file tree 3 files changed +14
-1
lines changed Expand file tree Collapse file tree 3 files changed +14
-1
lines changed Original file line number Diff line number Diff line change 11# Changelog
22
33--------------------------------------------
4+ [ 1.2.0] - 2024-04-08
5+
6+ * feat: add keyRingSize/discardFrameWhenCryptorNotReady to KeyProviderOptions.
7+
48[ 1.1.2] - 2023-09-14
59
610* Add more frame cryptor api.
Original file line number Diff line number Diff line change @@ -16,12 +16,19 @@ class KeyProviderOptions {
1616 required this .ratchetWindowSize,
1717 this .uncryptedMagicBytes,
1818 this .failureTolerance = - 1 ,
19+ this .keyRingSize = 16 ,
20+ this .discardFrameWhenCryptorNotReady = false ,
1921 });
2022 bool sharedKey;
2123 Uint8List ratchetSalt;
2224 Uint8List ? uncryptedMagicBytes;
2325 int ratchetWindowSize;
2426 int failureTolerance;
27+
28+ /// key ring size should be between 1 and 255
29+ /// default is 16
30+ int keyRingSize;
31+ bool discardFrameWhenCryptorNotReady;
2532 Map <String , dynamic > toJson () {
2633 return {
2734 'sharedKey' : sharedKey,
@@ -30,6 +37,8 @@ class KeyProviderOptions {
3037 'uncryptedMagicBytes' : uncryptedMagicBytes,
3138 'ratchetWindowSize' : ratchetWindowSize,
3239 'failureTolerance' : failureTolerance,
40+ 'keyRingSize' : keyRingSize,
41+ 'discardFrameWhenCryptorNotReady' : discardFrameWhenCryptorNotReady,
3342 };
3443 }
3544}
Original file line number Diff line number Diff line change 11name : webrtc_interface
22description : WebRTC Interface for Dart-Web/Flutter.
3- version : 1.1.2
3+ version : 1.2.0
44homepage : https://flutter-webrtc.org
55
66environment :
You can’t perform that action at this time.
0 commit comments