Files
fluxer/packages/voice_engine_v2/fixtures/event_logs/e2ee_lifecycle.json
T

35 lines
918 B
JSON

{
"name": "e2ee_lifecycle",
"events": [
{"type": "e2ee.setEnabledRequested", "enabled": true, "keyId": "key-a"},
{"type": "e2ee.setEnabledRequested", "enabled": false},
{"type": "e2ee.enabled", "operationId": 1, "keyId": "key-a"},
{"type": "e2ee.disabled", "operationId": 2},
{"type": "e2ee.enabled", "operationId": null, "keyId": "key-b"},
{
"type": "e2ee.failed",
"operationId": null,
"error": {
"code": "implementationError",
"message": "Remote participant key material could not be applied",
"capability": "e2ee"
}
}
],
"expectedCommands": [
[{"type": "e2ee.setEnabled", "operationId": 1, "enabled": true, "keyId": "key-a"}],
[{"type": "e2ee.setEnabled", "operationId": 2, "enabled": false}],
[],
[],
[],
[]
],
"expected": {
"nextOperationId": 3,
"status": "failed",
"keyId": "key-b",
"operationId": null,
"failureCode": "implementationError"
}
}