mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-12 13:38:31 +09:00
50 lines
981 B
JSON
50 lines
981 B
JSON
{
|
|
"name": "basic_session",
|
|
"events": [
|
|
{
|
|
"type": "microphone.publishRequested",
|
|
"options": {
|
|
"deviceId": "default"
|
|
}
|
|
},
|
|
{
|
|
"type": "connection.connectRequested",
|
|
"options": {
|
|
"url": "wss://voice.example.test",
|
|
"token": "token-1"
|
|
}
|
|
},
|
|
{
|
|
"type": "connection.connectSucceeded",
|
|
"operationId": 1
|
|
},
|
|
{
|
|
"type": "microphone.publishSucceeded",
|
|
"operationId": 2
|
|
},
|
|
{
|
|
"type": "gateway.voiceStateUpdated",
|
|
"voiceState": {
|
|
"guildId": "guild-1",
|
|
"channelId": "channel-1",
|
|
"userId": "user-1",
|
|
"sessionId": "session-1",
|
|
"selfMute": false,
|
|
"selfDeaf": false,
|
|
"selfVideo": false,
|
|
"selfStream": false,
|
|
"suppress": false,
|
|
"requestToSpeakTimestamp": null
|
|
}
|
|
}
|
|
],
|
|
"expected": {
|
|
"nextOperationId": 3,
|
|
"connectionStatus": "connected",
|
|
"activeUrl": "wss://voice.example.test",
|
|
"microphoneStatus": "published",
|
|
"microphoneDeviceId": "default",
|
|
"gatewayChannelId": "channel-1"
|
|
}
|
|
}
|