E2EEEvent
A state change reported by StreamEncryptionManager, most usefully a decryption failure for a specific participant. Encryption problems are otherwise silent — media simply arrives undecodable — so this is the main signal for surfacing "you are on a different key" in a UI.
Parameters
What happened. Prefer branching on this over name.
The event name as reported by the native layer, useful for logs.
The participant the event concerns, when it is scoped to one.
The track the event concerns, when it is scoped to one.
The key index involved, for key-related events.
The frame format version, for E2EEEventType.UNSUPPORTED_VERSION.
Extra detail from the native layer, when present.
The current key inventory, populated for E2EEEventType.KEY_STATE.
Per-track encrypt timings, populated for E2EEEventType.PERF_REPORT.
Per-track decrypt timings, populated for E2EEEventType.PERF_REPORT.