-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: E2EE. #238
feat: E2EE. #238
Conversation
* @param participantId | ||
* @param keyIndex | ||
*/ | ||
override fun setKey(key: String, participantId: String?, keyIndex: Int?) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
override fun setKey(key: String, participantId: String?, keyIndex: Int?) { | |
override fun setKey(key: String, participantId: String, keyIndex: Int) { |
livekit-android-sdk/src/main/java/io/livekit/android/e2ee/KeyProvider.kt
Outdated
Show resolved
Hide resolved
livekit-android-sdk/src/main/java/io/livekit/android/e2ee/KeyProvider.kt
Outdated
Show resolved
Hide resolved
livekit-android-sdk/src/main/java/io/livekit/android/e2ee/KeyProvider.kt
Outdated
Show resolved
Hide resolved
livekit-android-sdk/src/main/java/io/livekit/android/room/Room.kt
Outdated
Show resolved
Hide resolved
/** | ||
* @suppress | ||
*/ | ||
override fun onTrackPublished(publication: LocalTrackPublication, participant: LocalParticipant) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is already handled elsewhere, I think we can remove this.
livekit-android-sdk/src/main/java/io/livekit/android/room/track/RemoteAudioTrack.kt
Outdated
Show resolved
Hide resolved
sample-app-common/src/main/java/io/livekit/android/sample/CallViewModel.kt
Outdated
Show resolved
Hide resolved
sample-app-common/src/main/java/io/livekit/android/sample/CallViewModel.kt
Outdated
Show resolved
Hide resolved
@@ -185,7 +191,7 @@ constructor( | |||
videoTrackPublishDefaults = videoTrackPublishDefaults, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
need to capture e2eeOptions in the Room (also in LiveKit.kt)
this.keyProvider = keyProvider | ||
} | ||
|
||
suspend fun setup(room: Room, emitEvent: (roomEvent: RoomEvent) -> Unit) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like these can be put in the constructor?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was discussed with Lukas here that we can enter a certain room without enabling e2ee, and use setup to switch to encrypted mode halfway, so I suggest to keep
…rovider.kt Co-authored-by: davidliu <[email protected]>
…rovider.kt Co-authored-by: davidliu <[email protected]>
…ViewModel.kt Co-authored-by: davidliu <[email protected]>
Co-authored-by: davidliu <[email protected]>
…k/LocalAudioTrack.kt Co-authored-by: davidliu <[email protected]>
…k/LocalVideoTrack.kt Co-authored-by: davidliu <[email protected]>
…k/RemoteAudioTrack.kt Co-authored-by: davidliu <[email protected]>
Frame Cryptor support for Android.