Skip to content

Commit f7384fb

Browse files
authored
feat: Data Packet Cryptor. (#873)
1 parent 6c562b7 commit f7384fb

26 files changed

+3717
-3034
lines changed

android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ android {
5252
dependencies {
5353
testImplementation("org.jetbrains.kotlin:kotlin-test")
5454
testImplementation("org.mockito:mockito-core:5.0.0")
55-
implementation 'io.github.webrtc-sdk:android:137.7151.03'
55+
implementation 'io.github.webrtc-sdk:android:137.7151.04'
5656
implementation 'io.livekit:noise:2.0.0'
5757
}
5858

example/lib/pages/prejoin.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@ class _PreJoinPageState extends State<PreJoinPage> {
207207
videoEncoding: cameraEncoding,
208208
screenShareEncoding: screenEncoding,
209209
),
210-
e2eeOptions: e2eeOptions,
210+
encryption: e2eeOptions,
211211
),
212212
);
213213
// Create a Listener before connecting

example/lib/widgets/controls.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,7 @@ class _ControlsWidgetState extends State<ControlsWidget> {
257257
if (result == true) {
258258
await widget.participant.publishData(
259259
utf8.encode('This is a sample data message'),
260+
reliable: true,
260261
);
261262
}
262263
}

0 commit comments

Comments
 (0)