E2EEManager

class E2EEManager @AssistedInject constructor(@Assisted keyProvider: KeyProvider, peerConnectionFactory: PeerConnectionFactory)

Constructors

Link copied to clipboard
@AssistedInject
constructor(@Assisted keyProvider: KeyProvider, peerConnectionFactory: PeerConnectionFactory)

Types

Link copied to clipboard
@AssistedFactory
interface Factory

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun addPublishedTrack(track: Track, publication: TrackPublication, participant: LocalParticipant, room: Room)
Link copied to clipboard
fun addSubscribedTrack(track: Track, publication: TrackPublication, participant: RemoteParticipant, room: Room)
Link copied to clipboard
fun cleanUp()
Link copied to clipboard
fun enableE2EE(enabled: Boolean)

Enable or disable E2EE

Link copied to clipboard
Link copied to clipboard

Ratchet key for local participant

Link copied to clipboard
fun removePublishedTrack(track: Track, publication: TrackPublication, participant: LocalParticipant, room: Room)
Link copied to clipboard
fun removeSubscribedTrack(track: Track, publication: TrackPublication, participant: RemoteParticipant, room: Room)
Link copied to clipboard
suspend fun setup(room: Room, emitEvent: (roomEvent: RoomEvent) -> Unit)