@leaflow/sdk 0.0.0-dev.470.g87d6289 → 0.0.0-dev.474.g69966b9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/fleet/v1/generated/functions.d.ts +49 -7
- package/dist/fleet/v1/generated/functions.js +46 -3
- package/dist/fleet/v1/generated/models.d.ts +21 -5
- package/dist/fleet/v1/generated/schemas.zod.d.ts +43 -6
- package/dist/fleet/v1/generated/schemas.zod.js +52 -6
- package/dist/fleet/v1/generated/validators/accountList.zod.d.ts +6 -3
- package/dist/fleet/v1/generated/validators/accountList.zod.js +6 -3
- package/dist/fleet/v1/generated/validators/accountResource.zod.d.ts +6 -3
- package/dist/fleet/v1/generated/validators/accountResource.zod.js +6 -3
- package/dist/fleet/v1/generated/validators/approveEnrollmentRequest.zod.d.ts +6 -3
- package/dist/fleet/v1/generated/validators/approveEnrollmentRequest.zod.js +6 -3
- package/dist/fleet/v1/generated/validators/callMcpToolRequest.zod.d.ts +6 -3
- package/dist/fleet/v1/generated/validators/callMcpToolRequest.zod.js +6 -3
- package/dist/fleet/v1/generated/validators/callMcpToolResponse.zod.d.ts +6 -3
- package/dist/fleet/v1/generated/validators/callMcpToolResponse.zod.js +6 -3
- package/dist/fleet/v1/generated/validators/createGroupMemberRequest.zod.d.ts +6 -3
- package/dist/fleet/v1/generated/validators/createGroupMemberRequest.zod.js +6 -3
- package/dist/fleet/v1/generated/validators/createGroupRequest.zod.d.ts +6 -3
- package/dist/fleet/v1/generated/validators/createGroupRequest.zod.js +6 -3
- package/dist/fleet/v1/generated/validators/createMachineRegistrationRequest.zod.d.ts +6 -3
- package/dist/fleet/v1/generated/validators/createMachineRegistrationRequest.zod.js +6 -3
- package/dist/fleet/v1/generated/validators/createMachineRegistrationResponse.zod.d.ts +6 -3
- package/dist/fleet/v1/generated/validators/createMachineRegistrationResponse.zod.js +6 -3
- package/dist/fleet/v1/generated/validators/createParticipantRequest.zod.d.ts +6 -3
- package/dist/fleet/v1/generated/validators/createParticipantRequest.zod.js +6 -3
- package/dist/fleet/v1/generated/validators/createParticipantResponse.zod.d.ts +7 -3
- package/dist/fleet/v1/generated/validators/createParticipantResponse.zod.js +6 -3
- package/dist/fleet/v1/generated/validators/createPeerConnectionCandidatesRequest.zod.d.ts +6 -3
- package/dist/fleet/v1/generated/validators/createPeerConnectionCandidatesRequest.zod.js +6 -3
- package/dist/fleet/v1/generated/validators/createPeerConnectionRequest.zod.d.ts +6 -3
- package/dist/fleet/v1/generated/validators/createPeerConnectionRequest.zod.js +6 -3
- package/dist/fleet/v1/generated/validators/createSessionRequest.zod.d.ts +6 -3
- package/dist/fleet/v1/generated/validators/createSessionRequest.zod.js +6 -3
- package/dist/fleet/v1/generated/validators/cursorPagination.zod.d.ts +6 -3
- package/dist/fleet/v1/generated/validators/cursorPagination.zod.js +6 -3
- package/dist/fleet/v1/generated/validators/deleteMcpServerParams.zod.d.ts +6 -3
- package/dist/fleet/v1/generated/validators/deleteMcpServerParams.zod.js +6 -3
- package/dist/fleet/v1/generated/validators/denyPrivilegeRequestRequest.zod.d.ts +6 -3
- package/dist/fleet/v1/generated/validators/denyPrivilegeRequestRequest.zod.js +6 -3
- package/dist/fleet/v1/generated/validators/desktopOptions.zod.d.ts +6 -3
- package/dist/fleet/v1/generated/validators/desktopOptions.zod.js +6 -3
- package/dist/fleet/v1/generated/validators/desktopState.zod.d.ts +6 -3
- package/dist/fleet/v1/generated/validators/desktopState.zod.js +6 -3
- package/dist/fleet/v1/generated/validators/directoryName.zod.d.ts +6 -3
- package/dist/fleet/v1/generated/validators/directoryName.zod.js +6 -3
- package/dist/fleet/v1/generated/validators/enrollmentResource.zod.d.ts +6 -3
- package/dist/fleet/v1/generated/validators/enrollmentResource.zod.js +6 -3
- package/dist/fleet/v1/generated/validators/enrollmentState.zod.d.ts +6 -3
- package/dist/fleet/v1/generated/validators/enrollmentState.zod.js +6 -3
- package/dist/fleet/v1/generated/validators/error.zod.d.ts +6 -3
- package/dist/fleet/v1/generated/validators/error.zod.js +6 -3
- package/dist/fleet/v1/generated/validators/errorStatus.zod.d.ts +6 -3
- package/dist/fleet/v1/generated/validators/errorStatus.zod.js +6 -3
- package/dist/fleet/v1/generated/validators/featureState.zod.d.ts +6 -3
- package/dist/fleet/v1/generated/validators/featureState.zod.js +6 -3
- package/dist/fleet/v1/generated/validators/fieldViolation.zod.d.ts +6 -3
- package/dist/fleet/v1/generated/validators/fieldViolation.zod.js +6 -3
- package/dist/fleet/v1/generated/validators/findEnrollmentByPairingCodeParams.zod.d.ts +6 -3
- package/dist/fleet/v1/generated/validators/findEnrollmentByPairingCodeParams.zod.js +6 -3
- package/dist/fleet/v1/generated/validators/findEnrollmentResponse.zod.d.ts +6 -3
- package/dist/fleet/v1/generated/validators/findEnrollmentResponse.zod.js +6 -3
- package/dist/fleet/v1/generated/validators/getPeerConnectionParams.zod.d.ts +248 -0
- package/dist/fleet/v1/generated/validators/getPeerConnectionParams.zod.js +250 -0
- package/dist/fleet/v1/generated/validators/groupList.zod.d.ts +6 -3
- package/dist/fleet/v1/generated/validators/groupList.zod.js +6 -3
- package/dist/fleet/v1/generated/validators/groupResource.zod.d.ts +6 -3
- package/dist/fleet/v1/generated/validators/groupResource.zod.js +6 -3
- package/dist/fleet/v1/generated/validators/iceCandidate.zod.d.ts +6 -3
- package/dist/fleet/v1/generated/validators/iceCandidate.zod.js +6 -3
- package/dist/fleet/v1/generated/validators/iceServer.zod.d.ts +6 -3
- package/dist/fleet/v1/generated/validators/iceServer.zod.js +6 -3
- package/dist/fleet/v1/generated/validators/listAccountsParams.zod.d.ts +6 -3
- package/dist/fleet/v1/generated/validators/listAccountsParams.zod.js +6 -3
- package/dist/fleet/v1/generated/validators/listGroupMembersParams.zod.d.ts +6 -3
- package/dist/fleet/v1/generated/validators/listGroupMembersParams.zod.js +6 -3
- package/dist/fleet/v1/generated/validators/listGroupsParams.zod.d.ts +6 -3
- package/dist/fleet/v1/generated/validators/listGroupsParams.zod.js +6 -3
- package/dist/fleet/v1/generated/validators/listMachineEventsParams.zod.d.ts +6 -3
- package/dist/fleet/v1/generated/validators/listMachineEventsParams.zod.js +6 -3
- package/dist/fleet/v1/generated/validators/listMachineRegistrationsParams.zod.d.ts +6 -3
- package/dist/fleet/v1/generated/validators/listMachineRegistrationsParams.zod.js +6 -3
- package/dist/fleet/v1/generated/validators/listMachinesParams.zod.d.ts +6 -3
- package/dist/fleet/v1/generated/validators/listMachinesParams.zod.js +6 -3
- package/dist/fleet/v1/generated/validators/listMcpToolsParams.zod.d.ts +6 -3
- package/dist/fleet/v1/generated/validators/listMcpToolsParams.zod.js +6 -3
- package/dist/fleet/v1/generated/validators/listPrivilegeAutoApprovalsParams.zod.d.ts +6 -3
- package/dist/fleet/v1/generated/validators/listPrivilegeAutoApprovalsParams.zod.js +6 -3
- package/dist/fleet/v1/generated/validators/listPrivilegeRequestsParams.zod.d.ts +6 -3
- package/dist/fleet/v1/generated/validators/listPrivilegeRequestsParams.zod.js +6 -3
- package/dist/fleet/v1/generated/validators/listSessionsParams.zod.d.ts +6 -3
- package/dist/fleet/v1/generated/validators/listSessionsParams.zod.js +6 -3
- package/dist/fleet/v1/generated/validators/machineEventList.zod.d.ts +6 -3
- package/dist/fleet/v1/generated/validators/machineEventList.zod.js +6 -3
- package/dist/fleet/v1/generated/validators/machineEventResource.zod.d.ts +6 -3
- package/dist/fleet/v1/generated/validators/machineEventResource.zod.js +6 -3
- package/dist/fleet/v1/generated/validators/machineEventType.zod.d.ts +6 -3
- package/dist/fleet/v1/generated/validators/machineEventType.zod.js +6 -3
- package/dist/fleet/v1/generated/validators/machineFeature.zod.d.ts +6 -3
- package/dist/fleet/v1/generated/validators/machineFeature.zod.js +6 -3
- package/dist/fleet/v1/generated/validators/machineList.zod.d.ts +6 -3
- package/dist/fleet/v1/generated/validators/machineList.zod.js +6 -3
- package/dist/fleet/v1/generated/validators/machineRegistrationList.zod.d.ts +6 -3
- package/dist/fleet/v1/generated/validators/machineRegistrationList.zod.js +6 -3
- package/dist/fleet/v1/generated/validators/machineRegistrationResource.zod.d.ts +6 -3
- package/dist/fleet/v1/generated/validators/machineRegistrationResource.zod.js +6 -3
- package/dist/fleet/v1/generated/validators/machineRegistrationState.zod.d.ts +6 -3
- package/dist/fleet/v1/generated/validators/machineRegistrationState.zod.js +6 -3
- package/dist/fleet/v1/generated/validators/machineResource.zod.d.ts +6 -3
- package/dist/fleet/v1/generated/validators/machineResource.zod.js +6 -3
- package/dist/fleet/v1/generated/validators/mcpConfigurationFile.zod.d.ts +6 -3
- package/dist/fleet/v1/generated/validators/mcpConfigurationFile.zod.js +6 -3
- package/dist/fleet/v1/generated/validators/mcpConfigurationResource.zod.d.ts +6 -3
- package/dist/fleet/v1/generated/validators/mcpConfigurationResource.zod.js +6 -3
- package/dist/fleet/v1/generated/validators/mcpImplementation.zod.d.ts +6 -3
- package/dist/fleet/v1/generated/validators/mcpImplementation.zod.js +6 -3
- package/dist/fleet/v1/generated/validators/mcpServerFailure.zod.d.ts +6 -3
- package/dist/fleet/v1/generated/validators/mcpServerFailure.zod.js +6 -3
- package/dist/fleet/v1/generated/validators/mcpServerResource.zod.d.ts +6 -3
- package/dist/fleet/v1/generated/validators/mcpServerResource.zod.js +6 -3
- package/dist/fleet/v1/generated/validators/mcpToolList.zod.d.ts +6 -3
- package/dist/fleet/v1/generated/validators/mcpToolList.zod.js +6 -3
- package/dist/fleet/v1/generated/validators/mcpToolResource.zod.d.ts +6 -3
- package/dist/fleet/v1/generated/validators/mcpToolResource.zod.js +6 -3
- package/dist/fleet/v1/generated/validators/mcpTransport.zod.d.ts +6 -3
- package/dist/fleet/v1/generated/validators/mcpTransport.zod.js +6 -3
- package/dist/fleet/v1/generated/validators/mcpUnavailableServer.zod.d.ts +6 -3
- package/dist/fleet/v1/generated/validators/mcpUnavailableServer.zod.js +6 -3
- package/dist/fleet/v1/generated/validators/migrationStep.zod.d.ts +6 -3
- package/dist/fleet/v1/generated/validators/migrationStep.zod.js +6 -3
- package/dist/fleet/v1/generated/validators/namedIdentity.zod.d.ts +6 -3
- package/dist/fleet/v1/generated/validators/namedIdentity.zod.js +6 -3
- package/dist/fleet/v1/generated/validators/offsetPagination.zod.d.ts +6 -3
- package/dist/fleet/v1/generated/validators/offsetPagination.zod.js +6 -3
- package/dist/fleet/v1/generated/validators/operatingSystem.zod.d.ts +6 -3
- package/dist/fleet/v1/generated/validators/operatingSystem.zod.js +6 -3
- package/dist/fleet/v1/generated/validators/participantList.zod.d.ts +6 -3
- package/dist/fleet/v1/generated/validators/participantList.zod.js +6 -3
- package/dist/fleet/v1/generated/validators/participantResource.zod.d.ts +6 -3
- package/dist/fleet/v1/generated/validators/participantResource.zod.js +6 -3
- package/dist/fleet/v1/generated/validators/peerConnection.zod.d.ts +8 -3
- package/dist/fleet/v1/generated/validators/peerConnection.zod.js +12 -4
- package/dist/fleet/v1/generated/validators/privilegeAutoApprovalList.zod.d.ts +6 -3
- package/dist/fleet/v1/generated/validators/privilegeAutoApprovalList.zod.js +6 -3
- package/dist/fleet/v1/generated/validators/privilegeAutoApprovalMode.zod.d.ts +6 -3
- package/dist/fleet/v1/generated/validators/privilegeAutoApprovalMode.zod.js +6 -3
- package/dist/fleet/v1/generated/validators/privilegeAutoApprovalResource.zod.d.ts +6 -3
- package/dist/fleet/v1/generated/validators/privilegeAutoApprovalResource.zod.js +6 -3
- package/dist/fleet/v1/generated/validators/privilegeDecider.zod.d.ts +6 -3
- package/dist/fleet/v1/generated/validators/privilegeDecider.zod.js +6 -3
- package/dist/fleet/v1/generated/validators/privilegeRequestList.zod.d.ts +6 -3
- package/dist/fleet/v1/generated/validators/privilegeRequestList.zod.js +6 -3
- package/dist/fleet/v1/generated/validators/privilegeRequestResource.zod.d.ts +6 -3
- package/dist/fleet/v1/generated/validators/privilegeRequestResource.zod.js +6 -3
- package/dist/fleet/v1/generated/validators/privilegeRequestState.zod.d.ts +6 -3
- package/dist/fleet/v1/generated/validators/privilegeRequestState.zod.js +6 -3
- package/dist/fleet/v1/generated/validators/publicKey.zod.d.ts +6 -3
- package/dist/fleet/v1/generated/validators/publicKey.zod.js +6 -3
- package/dist/fleet/v1/generated/validators/renewParticipantRequest.zod.d.ts +6 -3
- package/dist/fleet/v1/generated/validators/renewParticipantRequest.zod.js +6 -3
- package/dist/fleet/v1/generated/validators/renewParticipantResponse.zod.d.ts +6 -3
- package/dist/fleet/v1/generated/validators/renewParticipantResponse.zod.js +6 -3
- package/dist/fleet/v1/generated/validators/replaceMcpConfigurationRequest.zod.d.ts +6 -3
- package/dist/fleet/v1/generated/validators/replaceMcpConfigurationRequest.zod.js +6 -3
- package/dist/fleet/v1/generated/validators/rtcConfiguration.zod.d.ts +6 -3
- package/dist/fleet/v1/generated/validators/rtcConfiguration.zod.js +6 -3
- package/dist/fleet/v1/generated/validators/runCommandRequest.zod.d.ts +6 -3
- package/dist/fleet/v1/generated/validators/runCommandRequest.zod.js +6 -3
- package/dist/fleet/v1/generated/validators/runCommandResponse.zod.d.ts +6 -3
- package/dist/fleet/v1/generated/validators/runCommandResponse.zod.js +6 -3
- package/dist/fleet/v1/generated/validators/sendMcpRequestRequest.zod.d.ts +6 -3
- package/dist/fleet/v1/generated/validators/sendMcpRequestRequest.zod.js +6 -3
- package/dist/fleet/v1/generated/validators/sendMcpRequestResponse.zod.d.ts +6 -3
- package/dist/fleet/v1/generated/validators/sendMcpRequestResponse.zod.js +6 -3
- package/dist/fleet/v1/generated/validators/sessionCloseReason.zod.d.ts +6 -3
- package/dist/fleet/v1/generated/validators/sessionCloseReason.zod.js +6 -3
- package/dist/fleet/v1/generated/validators/sessionList.zod.d.ts +6 -3
- package/dist/fleet/v1/generated/validators/sessionList.zod.js +6 -3
- package/dist/fleet/v1/generated/validators/sessionMode.zod.d.ts +6 -3
- package/dist/fleet/v1/generated/validators/sessionMode.zod.js +6 -3
- package/dist/fleet/v1/generated/validators/sessionResource.zod.d.ts +6 -3
- package/dist/fleet/v1/generated/validators/sessionResource.zod.js +6 -3
- package/dist/fleet/v1/generated/validators/sessionState.zod.d.ts +6 -3
- package/dist/fleet/v1/generated/validators/sessionState.zod.js +6 -3
- package/dist/fleet/v1/generated/validators/signedMessage.zod.d.ts +6 -3
- package/dist/fleet/v1/generated/validators/signedMessage.zod.js +6 -3
- package/dist/fleet/v1/generated/validators/signingKey.zod.d.ts +6 -3
- package/dist/fleet/v1/generated/validators/signingKey.zod.js +6 -3
- package/dist/fleet/v1/generated/validators/updateAccountRequest.zod.d.ts +6 -3
- package/dist/fleet/v1/generated/validators/updateAccountRequest.zod.js +6 -3
- package/dist/fleet/v1/generated/validators/updateGroupRequest.zod.d.ts +6 -3
- package/dist/fleet/v1/generated/validators/updateGroupRequest.zod.js +6 -3
- package/dist/fleet/v1/generated/validators/updateMachineRequest.zod.d.ts +6 -3
- package/dist/fleet/v1/generated/validators/updateMachineRequest.zod.js +6 -3
- package/dist/fleet/v1/generated/validators/updateMcpServerRequest.zod.d.ts +6 -3
- package/dist/fleet/v1/generated/validators/updateMcpServerRequest.zod.js +6 -3
- package/dist/fleet/v1/generated/validators/updateMcpServerResponse.zod.d.ts +6 -3
- package/dist/fleet/v1/generated/validators/updateMcpServerResponse.zod.js +6 -3
- package/dist/fleet/v1/generated/validators/updatePrivilegeAutoApprovalRequest.zod.d.ts +6 -3
- package/dist/fleet/v1/generated/validators/updatePrivilegeAutoApprovalRequest.zod.js +6 -3
- package/dist/proto/leaflow/fleet/control/v1/control_pb.d.ts +13 -0
- package/dist/proto/leaflow/fleet/control/v1/control_pb.js +1 -1
- package/dist/proto/leaflow/fleet/terminal/v1/terminal_pb.d.ts +42 -0
- package/dist/proto/leaflow/fleet/terminal/v1/terminal_pb.js +10 -5
- package/dist/proto/leaflow/fleet/transport/v1/transport_pb.d.ts +6 -6
- package/dist/routes.d.ts +8 -0
- package/dist/routes.js +9 -0
- package/package.json +1 -1
|
@@ -201,9 +201,12 @@
|
|
|
201
201
|
* one second has passed, so that the offer carries them.
|
|
202
202
|
* 3. Join with `POST /api/v1/sessions/{sessionId}/participants`, sending the public key and the
|
|
203
203
|
* offer. The answer carries the participant's signed authorization, the keys the service
|
|
204
|
-
* signs with, and the first PeerConnection: the session's SDP answer,
|
|
205
|
-
* the signed PeerAuthorization. Pass candidates gathered later with
|
|
206
|
-
* `POST …/participants/{participantId}/peer-connections/{peerConnectionId}/candidates
|
|
204
|
+
* signs with, and the first PeerConnection: the session's SDP answer, the ICE candidates it
|
|
205
|
+
* has passed so far and the signed PeerAuthorization. Pass candidates gathered later with
|
|
206
|
+
* `POST …/participants/{participantId}/peer-connections/{peerConnectionId}/candidates`, and
|
|
207
|
+
* read the session's later ones with
|
|
208
|
+
* `GET …/participants/{participantId}/peer-connections/{peerConnectionId}` until
|
|
209
|
+
* `candidates_complete`.
|
|
207
210
|
* 4. Renew the participant with `POST …/participants/{participantId}:renew` well before
|
|
208
211
|
* `lease_expires_at`, every 15 seconds, presenting the PeerAuthorization of each
|
|
209
212
|
* PeerConnection; the answer renews them. A participant whose lease runs out ends, and its
|
|
@@ -201,9 +201,12 @@
|
|
|
201
201
|
* one second has passed, so that the offer carries them.
|
|
202
202
|
* 3. Join with `POST /api/v1/sessions/{sessionId}/participants`, sending the public key and the
|
|
203
203
|
* offer. The answer carries the participant's signed authorization, the keys the service
|
|
204
|
-
* signs with, and the first PeerConnection: the session's SDP answer,
|
|
205
|
-
* the signed PeerAuthorization. Pass candidates gathered later with
|
|
206
|
-
* `POST …/participants/{participantId}/peer-connections/{peerConnectionId}/candidates
|
|
204
|
+
* signs with, and the first PeerConnection: the session's SDP answer, the ICE candidates it
|
|
205
|
+
* has passed so far and the signed PeerAuthorization. Pass candidates gathered later with
|
|
206
|
+
* `POST …/participants/{participantId}/peer-connections/{peerConnectionId}/candidates`, and
|
|
207
|
+
* read the session's later ones with
|
|
208
|
+
* `GET …/participants/{participantId}/peer-connections/{peerConnectionId}` until
|
|
209
|
+
* `candidates_complete`.
|
|
207
210
|
* 4. Renew the participant with `POST …/participants/{participantId}:renew` well before
|
|
208
211
|
* `lease_expires_at`, every 15 seconds, presenting the PeerAuthorization of each
|
|
209
212
|
* PeerConnection; the answer renews them. A participant whose lease runs out ends, and its
|
|
@@ -201,9 +201,12 @@
|
|
|
201
201
|
* one second has passed, so that the offer carries them.
|
|
202
202
|
* 3. Join with `POST /api/v1/sessions/{sessionId}/participants`, sending the public key and the
|
|
203
203
|
* offer. The answer carries the participant's signed authorization, the keys the service
|
|
204
|
-
* signs with, and the first PeerConnection: the session's SDP answer,
|
|
205
|
-
* the signed PeerAuthorization. Pass candidates gathered later with
|
|
206
|
-
* `POST …/participants/{participantId}/peer-connections/{peerConnectionId}/candidates
|
|
204
|
+
* signs with, and the first PeerConnection: the session's SDP answer, the ICE candidates it
|
|
205
|
+
* has passed so far and the signed PeerAuthorization. Pass candidates gathered later with
|
|
206
|
+
* `POST …/participants/{participantId}/peer-connections/{peerConnectionId}/candidates`, and
|
|
207
|
+
* read the session's later ones with
|
|
208
|
+
* `GET …/participants/{participantId}/peer-connections/{peerConnectionId}` until
|
|
209
|
+
* `candidates_complete`.
|
|
207
210
|
* 4. Renew the participant with `POST …/participants/{participantId}:renew` well before
|
|
208
211
|
* `lease_expires_at`, every 15 seconds, presenting the PeerAuthorization of each
|
|
209
212
|
* PeerConnection; the answer renews them. A participant whose lease runs out ends, and its
|
|
@@ -201,9 +201,12 @@
|
|
|
201
201
|
* one second has passed, so that the offer carries them.
|
|
202
202
|
* 3. Join with `POST /api/v1/sessions/{sessionId}/participants`, sending the public key and the
|
|
203
203
|
* offer. The answer carries the participant's signed authorization, the keys the service
|
|
204
|
-
* signs with, and the first PeerConnection: the session's SDP answer,
|
|
205
|
-
* the signed PeerAuthorization. Pass candidates gathered later with
|
|
206
|
-
* `POST …/participants/{participantId}/peer-connections/{peerConnectionId}/candidates
|
|
204
|
+
* signs with, and the first PeerConnection: the session's SDP answer, the ICE candidates it
|
|
205
|
+
* has passed so far and the signed PeerAuthorization. Pass candidates gathered later with
|
|
206
|
+
* `POST …/participants/{participantId}/peer-connections/{peerConnectionId}/candidates`, and
|
|
207
|
+
* read the session's later ones with
|
|
208
|
+
* `GET …/participants/{participantId}/peer-connections/{peerConnectionId}` until
|
|
209
|
+
* `candidates_complete`.
|
|
207
210
|
* 4. Renew the participant with `POST …/participants/{participantId}:renew` well before
|
|
208
211
|
* `lease_expires_at`, every 15 seconds, presenting the PeerAuthorization of each
|
|
209
212
|
* PeerConnection; the answer renews them. A participant whose lease runs out ends, and its
|
|
@@ -201,9 +201,12 @@
|
|
|
201
201
|
* one second has passed, so that the offer carries them.
|
|
202
202
|
* 3. Join with `POST /api/v1/sessions/{sessionId}/participants`, sending the public key and the
|
|
203
203
|
* offer. The answer carries the participant's signed authorization, the keys the service
|
|
204
|
-
* signs with, and the first PeerConnection: the session's SDP answer,
|
|
205
|
-
* the signed PeerAuthorization. Pass candidates gathered later with
|
|
206
|
-
* `POST …/participants/{participantId}/peer-connections/{peerConnectionId}/candidates
|
|
204
|
+
* signs with, and the first PeerConnection: the session's SDP answer, the ICE candidates it
|
|
205
|
+
* has passed so far and the signed PeerAuthorization. Pass candidates gathered later with
|
|
206
|
+
* `POST …/participants/{participantId}/peer-connections/{peerConnectionId}/candidates`, and
|
|
207
|
+
* read the session's later ones with
|
|
208
|
+
* `GET …/participants/{participantId}/peer-connections/{peerConnectionId}` until
|
|
209
|
+
* `candidates_complete`.
|
|
207
210
|
* 4. Renew the participant with `POST …/participants/{participantId}:renew` well before
|
|
208
211
|
* `lease_expires_at`, every 15 seconds, presenting the PeerAuthorization of each
|
|
209
212
|
* PeerConnection; the answer renews them. A participant whose lease runs out ends, and its
|
|
@@ -201,9 +201,12 @@
|
|
|
201
201
|
* one second has passed, so that the offer carries them.
|
|
202
202
|
* 3. Join with `POST /api/v1/sessions/{sessionId}/participants`, sending the public key and the
|
|
203
203
|
* offer. The answer carries the participant's signed authorization, the keys the service
|
|
204
|
-
* signs with, and the first PeerConnection: the session's SDP answer,
|
|
205
|
-
* the signed PeerAuthorization. Pass candidates gathered later with
|
|
206
|
-
* `POST …/participants/{participantId}/peer-connections/{peerConnectionId}/candidates
|
|
204
|
+
* signs with, and the first PeerConnection: the session's SDP answer, the ICE candidates it
|
|
205
|
+
* has passed so far and the signed PeerAuthorization. Pass candidates gathered later with
|
|
206
|
+
* `POST …/participants/{participantId}/peer-connections/{peerConnectionId}/candidates`, and
|
|
207
|
+
* read the session's later ones with
|
|
208
|
+
* `GET …/participants/{participantId}/peer-connections/{peerConnectionId}` until
|
|
209
|
+
* `candidates_complete`.
|
|
207
210
|
* 4. Renew the participant with `POST …/participants/{participantId}:renew` well before
|
|
208
211
|
* `lease_expires_at`, every 15 seconds, presenting the PeerAuthorization of each
|
|
209
212
|
* PeerConnection; the answer renews them. A participant whose lease runs out ends, and its
|
|
@@ -201,9 +201,12 @@
|
|
|
201
201
|
* one second has passed, so that the offer carries them.
|
|
202
202
|
* 3. Join with `POST /api/v1/sessions/{sessionId}/participants`, sending the public key and the
|
|
203
203
|
* offer. The answer carries the participant's signed authorization, the keys the service
|
|
204
|
-
* signs with, and the first PeerConnection: the session's SDP answer,
|
|
205
|
-
* the signed PeerAuthorization. Pass candidates gathered later with
|
|
206
|
-
* `POST …/participants/{participantId}/peer-connections/{peerConnectionId}/candidates
|
|
204
|
+
* signs with, and the first PeerConnection: the session's SDP answer, the ICE candidates it
|
|
205
|
+
* has passed so far and the signed PeerAuthorization. Pass candidates gathered later with
|
|
206
|
+
* `POST …/participants/{participantId}/peer-connections/{peerConnectionId}/candidates`, and
|
|
207
|
+
* read the session's later ones with
|
|
208
|
+
* `GET …/participants/{participantId}/peer-connections/{peerConnectionId}` until
|
|
209
|
+
* `candidates_complete`.
|
|
207
210
|
* 4. Renew the participant with `POST …/participants/{participantId}:renew` well before
|
|
208
211
|
* `lease_expires_at`, every 15 seconds, presenting the PeerAuthorization of each
|
|
209
212
|
* PeerConnection; the answer renews them. A participant whose lease runs out ends, and its
|
|
@@ -201,9 +201,12 @@
|
|
|
201
201
|
* one second has passed, so that the offer carries them.
|
|
202
202
|
* 3. Join with `POST /api/v1/sessions/{sessionId}/participants`, sending the public key and the
|
|
203
203
|
* offer. The answer carries the participant's signed authorization, the keys the service
|
|
204
|
-
* signs with, and the first PeerConnection: the session's SDP answer,
|
|
205
|
-
* the signed PeerAuthorization. Pass candidates gathered later with
|
|
206
|
-
* `POST …/participants/{participantId}/peer-connections/{peerConnectionId}/candidates
|
|
204
|
+
* signs with, and the first PeerConnection: the session's SDP answer, the ICE candidates it
|
|
205
|
+
* has passed so far and the signed PeerAuthorization. Pass candidates gathered later with
|
|
206
|
+
* `POST …/participants/{participantId}/peer-connections/{peerConnectionId}/candidates`, and
|
|
207
|
+
* read the session's later ones with
|
|
208
|
+
* `GET …/participants/{participantId}/peer-connections/{peerConnectionId}` until
|
|
209
|
+
* `candidates_complete`.
|
|
207
210
|
* 4. Renew the participant with `POST …/participants/{participantId}:renew` well before
|
|
208
211
|
* `lease_expires_at`, every 15 seconds, presenting the PeerAuthorization of each
|
|
209
212
|
* PeerConnection; the answer renews them. A participant whose lease runs out ends, and its
|
|
@@ -201,9 +201,12 @@
|
|
|
201
201
|
* one second has passed, so that the offer carries them.
|
|
202
202
|
* 3. Join with `POST /api/v1/sessions/{sessionId}/participants`, sending the public key and the
|
|
203
203
|
* offer. The answer carries the participant's signed authorization, the keys the service
|
|
204
|
-
* signs with, and the first PeerConnection: the session's SDP answer,
|
|
205
|
-
* the signed PeerAuthorization. Pass candidates gathered later with
|
|
206
|
-
* `POST …/participants/{participantId}/peer-connections/{peerConnectionId}/candidates
|
|
204
|
+
* signs with, and the first PeerConnection: the session's SDP answer, the ICE candidates it
|
|
205
|
+
* has passed so far and the signed PeerAuthorization. Pass candidates gathered later with
|
|
206
|
+
* `POST …/participants/{participantId}/peer-connections/{peerConnectionId}/candidates`, and
|
|
207
|
+
* read the session's later ones with
|
|
208
|
+
* `GET …/participants/{participantId}/peer-connections/{peerConnectionId}` until
|
|
209
|
+
* `candidates_complete`.
|
|
207
210
|
* 4. Renew the participant with `POST …/participants/{participantId}:renew` well before
|
|
208
211
|
* `lease_expires_at`, every 15 seconds, presenting the PeerAuthorization of each
|
|
209
212
|
* PeerConnection; the answer renews them. A participant whose lease runs out ends, and its
|
|
@@ -201,9 +201,12 @@
|
|
|
201
201
|
* one second has passed, so that the offer carries them.
|
|
202
202
|
* 3. Join with `POST /api/v1/sessions/{sessionId}/participants`, sending the public key and the
|
|
203
203
|
* offer. The answer carries the participant's signed authorization, the keys the service
|
|
204
|
-
* signs with, and the first PeerConnection: the session's SDP answer,
|
|
205
|
-
* the signed PeerAuthorization. Pass candidates gathered later with
|
|
206
|
-
* `POST …/participants/{participantId}/peer-connections/{peerConnectionId}/candidates
|
|
204
|
+
* signs with, and the first PeerConnection: the session's SDP answer, the ICE candidates it
|
|
205
|
+
* has passed so far and the signed PeerAuthorization. Pass candidates gathered later with
|
|
206
|
+
* `POST …/participants/{participantId}/peer-connections/{peerConnectionId}/candidates`, and
|
|
207
|
+
* read the session's later ones with
|
|
208
|
+
* `GET …/participants/{participantId}/peer-connections/{peerConnectionId}` until
|
|
209
|
+
* `candidates_complete`.
|
|
207
210
|
* 4. Renew the participant with `POST …/participants/{participantId}:renew` well before
|
|
208
211
|
* `lease_expires_at`, every 15 seconds, presenting the PeerAuthorization of each
|
|
209
212
|
* PeerConnection; the answer renews them. A participant whose lease runs out ends, and its
|
|
@@ -201,9 +201,12 @@
|
|
|
201
201
|
* one second has passed, so that the offer carries them.
|
|
202
202
|
* 3. Join with `POST /api/v1/sessions/{sessionId}/participants`, sending the public key and the
|
|
203
203
|
* offer. The answer carries the participant's signed authorization, the keys the service
|
|
204
|
-
* signs with, and the first PeerConnection: the session's SDP answer,
|
|
205
|
-
* the signed PeerAuthorization. Pass candidates gathered later with
|
|
206
|
-
* `POST …/participants/{participantId}/peer-connections/{peerConnectionId}/candidates
|
|
204
|
+
* signs with, and the first PeerConnection: the session's SDP answer, the ICE candidates it
|
|
205
|
+
* has passed so far and the signed PeerAuthorization. Pass candidates gathered later with
|
|
206
|
+
* `POST …/participants/{participantId}/peer-connections/{peerConnectionId}/candidates`, and
|
|
207
|
+
* read the session's later ones with
|
|
208
|
+
* `GET …/participants/{participantId}/peer-connections/{peerConnectionId}` until
|
|
209
|
+
* `candidates_complete`.
|
|
207
210
|
* 4. Renew the participant with `POST …/participants/{participantId}:renew` well before
|
|
208
211
|
* `lease_expires_at`, every 15 seconds, presenting the PeerAuthorization of each
|
|
209
212
|
* PeerConnection; the answer renews them. A participant whose lease runs out ends, and its
|
|
@@ -201,9 +201,12 @@
|
|
|
201
201
|
* one second has passed, so that the offer carries them.
|
|
202
202
|
* 3. Join with `POST /api/v1/sessions/{sessionId}/participants`, sending the public key and the
|
|
203
203
|
* offer. The answer carries the participant's signed authorization, the keys the service
|
|
204
|
-
* signs with, and the first PeerConnection: the session's SDP answer,
|
|
205
|
-
* the signed PeerAuthorization. Pass candidates gathered later with
|
|
206
|
-
* `POST …/participants/{participantId}/peer-connections/{peerConnectionId}/candidates
|
|
204
|
+
* signs with, and the first PeerConnection: the session's SDP answer, the ICE candidates it
|
|
205
|
+
* has passed so far and the signed PeerAuthorization. Pass candidates gathered later with
|
|
206
|
+
* `POST …/participants/{participantId}/peer-connections/{peerConnectionId}/candidates`, and
|
|
207
|
+
* read the session's later ones with
|
|
208
|
+
* `GET …/participants/{participantId}/peer-connections/{peerConnectionId}` until
|
|
209
|
+
* `candidates_complete`.
|
|
207
210
|
* 4. Renew the participant with `POST …/participants/{participantId}:renew` well before
|
|
208
211
|
* `lease_expires_at`, every 15 seconds, presenting the PeerAuthorization of each
|
|
209
212
|
* PeerConnection; the answer renews them. A participant whose lease runs out ends, and its
|
|
@@ -201,9 +201,12 @@
|
|
|
201
201
|
* one second has passed, so that the offer carries them.
|
|
202
202
|
* 3. Join with `POST /api/v1/sessions/{sessionId}/participants`, sending the public key and the
|
|
203
203
|
* offer. The answer carries the participant's signed authorization, the keys the service
|
|
204
|
-
* signs with, and the first PeerConnection: the session's SDP answer,
|
|
205
|
-
* the signed PeerAuthorization. Pass candidates gathered later with
|
|
206
|
-
* `POST …/participants/{participantId}/peer-connections/{peerConnectionId}/candidates
|
|
204
|
+
* signs with, and the first PeerConnection: the session's SDP answer, the ICE candidates it
|
|
205
|
+
* has passed so far and the signed PeerAuthorization. Pass candidates gathered later with
|
|
206
|
+
* `POST …/participants/{participantId}/peer-connections/{peerConnectionId}/candidates`, and
|
|
207
|
+
* read the session's later ones with
|
|
208
|
+
* `GET …/participants/{participantId}/peer-connections/{peerConnectionId}` until
|
|
209
|
+
* `candidates_complete`.
|
|
207
210
|
* 4. Renew the participant with `POST …/participants/{participantId}:renew` well before
|
|
208
211
|
* `lease_expires_at`, every 15 seconds, presenting the PeerAuthorization of each
|
|
209
212
|
* PeerConnection; the answer renews them. A participant whose lease runs out ends, and its
|
|
@@ -201,9 +201,12 @@
|
|
|
201
201
|
* one second has passed, so that the offer carries them.
|
|
202
202
|
* 3. Join with `POST /api/v1/sessions/{sessionId}/participants`, sending the public key and the
|
|
203
203
|
* offer. The answer carries the participant's signed authorization, the keys the service
|
|
204
|
-
* signs with, and the first PeerConnection: the session's SDP answer,
|
|
205
|
-
* the signed PeerAuthorization. Pass candidates gathered later with
|
|
206
|
-
* `POST …/participants/{participantId}/peer-connections/{peerConnectionId}/candidates
|
|
204
|
+
* signs with, and the first PeerConnection: the session's SDP answer, the ICE candidates it
|
|
205
|
+
* has passed so far and the signed PeerAuthorization. Pass candidates gathered later with
|
|
206
|
+
* `POST …/participants/{participantId}/peer-connections/{peerConnectionId}/candidates`, and
|
|
207
|
+
* read the session's later ones with
|
|
208
|
+
* `GET …/participants/{participantId}/peer-connections/{peerConnectionId}` until
|
|
209
|
+
* `candidates_complete`.
|
|
207
210
|
* 4. Renew the participant with `POST …/participants/{participantId}:renew` well before
|
|
208
211
|
* `lease_expires_at`, every 15 seconds, presenting the PeerAuthorization of each
|
|
209
212
|
* PeerConnection; the answer renews them. A participant whose lease runs out ends, and its
|
|
@@ -201,9 +201,12 @@
|
|
|
201
201
|
* one second has passed, so that the offer carries them.
|
|
202
202
|
* 3. Join with `POST /api/v1/sessions/{sessionId}/participants`, sending the public key and the
|
|
203
203
|
* offer. The answer carries the participant's signed authorization, the keys the service
|
|
204
|
-
* signs with, and the first PeerConnection: the session's SDP answer,
|
|
205
|
-
* the signed PeerAuthorization. Pass candidates gathered later with
|
|
206
|
-
* `POST …/participants/{participantId}/peer-connections/{peerConnectionId}/candidates
|
|
204
|
+
* signs with, and the first PeerConnection: the session's SDP answer, the ICE candidates it
|
|
205
|
+
* has passed so far and the signed PeerAuthorization. Pass candidates gathered later with
|
|
206
|
+
* `POST …/participants/{participantId}/peer-connections/{peerConnectionId}/candidates`, and
|
|
207
|
+
* read the session's later ones with
|
|
208
|
+
* `GET …/participants/{participantId}/peer-connections/{peerConnectionId}` until
|
|
209
|
+
* `candidates_complete`.
|
|
207
210
|
* 4. Renew the participant with `POST …/participants/{participantId}:renew` well before
|
|
208
211
|
* `lease_expires_at`, every 15 seconds, presenting the PeerAuthorization of each
|
|
209
212
|
* PeerConnection; the answer renews them. A participant whose lease runs out ends, and its
|
|
@@ -201,9 +201,12 @@
|
|
|
201
201
|
* one second has passed, so that the offer carries them.
|
|
202
202
|
* 3. Join with `POST /api/v1/sessions/{sessionId}/participants`, sending the public key and the
|
|
203
203
|
* offer. The answer carries the participant's signed authorization, the keys the service
|
|
204
|
-
* signs with, and the first PeerConnection: the session's SDP answer,
|
|
205
|
-
* the signed PeerAuthorization. Pass candidates gathered later with
|
|
206
|
-
* `POST …/participants/{participantId}/peer-connections/{peerConnectionId}/candidates
|
|
204
|
+
* signs with, and the first PeerConnection: the session's SDP answer, the ICE candidates it
|
|
205
|
+
* has passed so far and the signed PeerAuthorization. Pass candidates gathered later with
|
|
206
|
+
* `POST …/participants/{participantId}/peer-connections/{peerConnectionId}/candidates`, and
|
|
207
|
+
* read the session's later ones with
|
|
208
|
+
* `GET …/participants/{participantId}/peer-connections/{peerConnectionId}` until
|
|
209
|
+
* `candidates_complete`.
|
|
207
210
|
* 4. Renew the participant with `POST …/participants/{participantId}:renew` well before
|
|
208
211
|
* `lease_expires_at`, every 15 seconds, presenting the PeerAuthorization of each
|
|
209
212
|
* PeerConnection; the answer renews them. A participant whose lease runs out ends, and its
|
|
@@ -201,9 +201,12 @@
|
|
|
201
201
|
* one second has passed, so that the offer carries them.
|
|
202
202
|
* 3. Join with `POST /api/v1/sessions/{sessionId}/participants`, sending the public key and the
|
|
203
203
|
* offer. The answer carries the participant's signed authorization, the keys the service
|
|
204
|
-
* signs with, and the first PeerConnection: the session's SDP answer,
|
|
205
|
-
* the signed PeerAuthorization. Pass candidates gathered later with
|
|
206
|
-
* `POST …/participants/{participantId}/peer-connections/{peerConnectionId}/candidates
|
|
204
|
+
* signs with, and the first PeerConnection: the session's SDP answer, the ICE candidates it
|
|
205
|
+
* has passed so far and the signed PeerAuthorization. Pass candidates gathered later with
|
|
206
|
+
* `POST …/participants/{participantId}/peer-connections/{peerConnectionId}/candidates`, and
|
|
207
|
+
* read the session's later ones with
|
|
208
|
+
* `GET …/participants/{participantId}/peer-connections/{peerConnectionId}` until
|
|
209
|
+
* `candidates_complete`.
|
|
207
210
|
* 4. Renew the participant with `POST …/participants/{participantId}:renew` well before
|
|
208
211
|
* `lease_expires_at`, every 15 seconds, presenting the PeerAuthorization of each
|
|
209
212
|
* PeerConnection; the answer renews them. A participant whose lease runs out ends, and its
|
|
@@ -201,9 +201,12 @@
|
|
|
201
201
|
* one second has passed, so that the offer carries them.
|
|
202
202
|
* 3. Join with `POST /api/v1/sessions/{sessionId}/participants`, sending the public key and the
|
|
203
203
|
* offer. The answer carries the participant's signed authorization, the keys the service
|
|
204
|
-
* signs with, and the first PeerConnection: the session's SDP answer,
|
|
205
|
-
* the signed PeerAuthorization. Pass candidates gathered later with
|
|
206
|
-
* `POST …/participants/{participantId}/peer-connections/{peerConnectionId}/candidates
|
|
204
|
+
* signs with, and the first PeerConnection: the session's SDP answer, the ICE candidates it
|
|
205
|
+
* has passed so far and the signed PeerAuthorization. Pass candidates gathered later with
|
|
206
|
+
* `POST …/participants/{participantId}/peer-connections/{peerConnectionId}/candidates`, and
|
|
207
|
+
* read the session's later ones with
|
|
208
|
+
* `GET …/participants/{participantId}/peer-connections/{peerConnectionId}` until
|
|
209
|
+
* `candidates_complete`.
|
|
207
210
|
* 4. Renew the participant with `POST …/participants/{participantId}:renew` well before
|
|
208
211
|
* `lease_expires_at`, every 15 seconds, presenting the PeerAuthorization of each
|
|
209
212
|
* PeerConnection; the answer renews them. A participant whose lease runs out ends, and its
|
|
@@ -201,9 +201,12 @@
|
|
|
201
201
|
* one second has passed, so that the offer carries them.
|
|
202
202
|
* 3. Join with `POST /api/v1/sessions/{sessionId}/participants`, sending the public key and the
|
|
203
203
|
* offer. The answer carries the participant's signed authorization, the keys the service
|
|
204
|
-
* signs with, and the first PeerConnection: the session's SDP answer,
|
|
205
|
-
* the signed PeerAuthorization. Pass candidates gathered later with
|
|
206
|
-
* `POST …/participants/{participantId}/peer-connections/{peerConnectionId}/candidates
|
|
204
|
+
* signs with, and the first PeerConnection: the session's SDP answer, the ICE candidates it
|
|
205
|
+
* has passed so far and the signed PeerAuthorization. Pass candidates gathered later with
|
|
206
|
+
* `POST …/participants/{participantId}/peer-connections/{peerConnectionId}/candidates`, and
|
|
207
|
+
* read the session's later ones with
|
|
208
|
+
* `GET …/participants/{participantId}/peer-connections/{peerConnectionId}` until
|
|
209
|
+
* `candidates_complete`.
|
|
207
210
|
* 4. Renew the participant with `POST …/participants/{participantId}:renew` well before
|
|
208
211
|
* `lease_expires_at`, every 15 seconds, presenting the PeerAuthorization of each
|
|
209
212
|
* PeerConnection; the answer renews them. A participant whose lease runs out ends, and its
|
|
@@ -201,9 +201,12 @@
|
|
|
201
201
|
* one second has passed, so that the offer carries them.
|
|
202
202
|
* 3. Join with `POST /api/v1/sessions/{sessionId}/participants`, sending the public key and the
|
|
203
203
|
* offer. The answer carries the participant's signed authorization, the keys the service
|
|
204
|
-
* signs with, and the first PeerConnection: the session's SDP answer,
|
|
205
|
-
* the signed PeerAuthorization. Pass candidates gathered later with
|
|
206
|
-
* `POST …/participants/{participantId}/peer-connections/{peerConnectionId}/candidates
|
|
204
|
+
* signs with, and the first PeerConnection: the session's SDP answer, the ICE candidates it
|
|
205
|
+
* has passed so far and the signed PeerAuthorization. Pass candidates gathered later with
|
|
206
|
+
* `POST …/participants/{participantId}/peer-connections/{peerConnectionId}/candidates`, and
|
|
207
|
+
* read the session's later ones with
|
|
208
|
+
* `GET …/participants/{participantId}/peer-connections/{peerConnectionId}` until
|
|
209
|
+
* `candidates_complete`.
|
|
207
210
|
* 4. Renew the participant with `POST …/participants/{participantId}:renew` well before
|
|
208
211
|
* `lease_expires_at`, every 15 seconds, presenting the PeerAuthorization of each
|
|
209
212
|
* PeerConnection; the answer renews them. A participant whose lease runs out ends, and its
|
|
@@ -201,9 +201,12 @@
|
|
|
201
201
|
* one second has passed, so that the offer carries them.
|
|
202
202
|
* 3. Join with `POST /api/v1/sessions/{sessionId}/participants`, sending the public key and the
|
|
203
203
|
* offer. The answer carries the participant's signed authorization, the keys the service
|
|
204
|
-
* signs with, and the first PeerConnection: the session's SDP answer,
|
|
205
|
-
* the signed PeerAuthorization. Pass candidates gathered later with
|
|
206
|
-
* `POST …/participants/{participantId}/peer-connections/{peerConnectionId}/candidates
|
|
204
|
+
* signs with, and the first PeerConnection: the session's SDP answer, the ICE candidates it
|
|
205
|
+
* has passed so far and the signed PeerAuthorization. Pass candidates gathered later with
|
|
206
|
+
* `POST …/participants/{participantId}/peer-connections/{peerConnectionId}/candidates`, and
|
|
207
|
+
* read the session's later ones with
|
|
208
|
+
* `GET …/participants/{participantId}/peer-connections/{peerConnectionId}` until
|
|
209
|
+
* `candidates_complete`.
|
|
207
210
|
* 4. Renew the participant with `POST …/participants/{participantId}:renew` well before
|
|
208
211
|
* `lease_expires_at`, every 15 seconds, presenting the PeerAuthorization of each
|
|
209
212
|
* PeerConnection; the answer renews them. A participant whose lease runs out ends, and its
|
|
@@ -201,9 +201,12 @@
|
|
|
201
201
|
* one second has passed, so that the offer carries them.
|
|
202
202
|
* 3. Join with `POST /api/v1/sessions/{sessionId}/participants`, sending the public key and the
|
|
203
203
|
* offer. The answer carries the participant's signed authorization, the keys the service
|
|
204
|
-
* signs with, and the first PeerConnection: the session's SDP answer,
|
|
205
|
-
* the signed PeerAuthorization. Pass candidates gathered later with
|
|
206
|
-
* `POST …/participants/{participantId}/peer-connections/{peerConnectionId}/candidates
|
|
204
|
+
* signs with, and the first PeerConnection: the session's SDP answer, the ICE candidates it
|
|
205
|
+
* has passed so far and the signed PeerAuthorization. Pass candidates gathered later with
|
|
206
|
+
* `POST …/participants/{participantId}/peer-connections/{peerConnectionId}/candidates`, and
|
|
207
|
+
* read the session's later ones with
|
|
208
|
+
* `GET …/participants/{participantId}/peer-connections/{peerConnectionId}` until
|
|
209
|
+
* `candidates_complete`.
|
|
207
210
|
* 4. Renew the participant with `POST …/participants/{participantId}:renew` well before
|
|
208
211
|
* `lease_expires_at`, every 15 seconds, presenting the PeerAuthorization of each
|
|
209
212
|
* PeerConnection; the answer renews them. A participant whose lease runs out ends, and its
|
|
@@ -201,9 +201,12 @@
|
|
|
201
201
|
* one second has passed, so that the offer carries them.
|
|
202
202
|
* 3. Join with `POST /api/v1/sessions/{sessionId}/participants`, sending the public key and the
|
|
203
203
|
* offer. The answer carries the participant's signed authorization, the keys the service
|
|
204
|
-
* signs with, and the first PeerConnection: the session's SDP answer,
|
|
205
|
-
* the signed PeerAuthorization. Pass candidates gathered later with
|
|
206
|
-
* `POST …/participants/{participantId}/peer-connections/{peerConnectionId}/candidates
|
|
204
|
+
* signs with, and the first PeerConnection: the session's SDP answer, the ICE candidates it
|
|
205
|
+
* has passed so far and the signed PeerAuthorization. Pass candidates gathered later with
|
|
206
|
+
* `POST …/participants/{participantId}/peer-connections/{peerConnectionId}/candidates`, and
|
|
207
|
+
* read the session's later ones with
|
|
208
|
+
* `GET …/participants/{participantId}/peer-connections/{peerConnectionId}` until
|
|
209
|
+
* `candidates_complete`.
|
|
207
210
|
* 4. Renew the participant with `POST …/participants/{participantId}:renew` well before
|
|
208
211
|
* `lease_expires_at`, every 15 seconds, presenting the PeerAuthorization of each
|
|
209
212
|
* PeerConnection; the answer renews them. A participant whose lease runs out ends, and its
|
|
@@ -236,6 +239,7 @@
|
|
|
236
239
|
* OpenAPI spec version: 1.0.0
|
|
237
240
|
*/
|
|
238
241
|
import * as zod from "zod";
|
|
242
|
+
export declare const peerConnectionCandidatesMax = 64;
|
|
239
243
|
export declare const PeerConnection: zod.ZodObject<{
|
|
240
244
|
id: zod.ZodUUID;
|
|
241
245
|
answer: zod.ZodString;
|
|
@@ -243,6 +247,7 @@ export declare const PeerConnection: zod.ZodObject<{
|
|
|
243
247
|
candidate: zod.ZodString;
|
|
244
248
|
sdp_mid: zod.ZodOptional<zod.ZodString>;
|
|
245
249
|
}, zod.z.core.$strict>>;
|
|
250
|
+
candidates_complete: zod.ZodBoolean;
|
|
246
251
|
authorization: zod.ZodObject<{
|
|
247
252
|
key_id: zod.ZodString;
|
|
248
253
|
message: zod.ZodString;
|
|
@@ -201,9 +201,12 @@
|
|
|
201
201
|
* one second has passed, so that the offer carries them.
|
|
202
202
|
* 3. Join with `POST /api/v1/sessions/{sessionId}/participants`, sending the public key and the
|
|
203
203
|
* offer. The answer carries the participant's signed authorization, the keys the service
|
|
204
|
-
* signs with, and the first PeerConnection: the session's SDP answer,
|
|
205
|
-
* the signed PeerAuthorization. Pass candidates gathered later with
|
|
206
|
-
* `POST …/participants/{participantId}/peer-connections/{peerConnectionId}/candidates
|
|
204
|
+
* signs with, and the first PeerConnection: the session's SDP answer, the ICE candidates it
|
|
205
|
+
* has passed so far and the signed PeerAuthorization. Pass candidates gathered later with
|
|
206
|
+
* `POST …/participants/{participantId}/peer-connections/{peerConnectionId}/candidates`, and
|
|
207
|
+
* read the session's later ones with
|
|
208
|
+
* `GET …/participants/{participantId}/peer-connections/{peerConnectionId}` until
|
|
209
|
+
* `candidates_complete`.
|
|
207
210
|
* 4. Renew the participant with `POST …/participants/{participantId}:renew` well before
|
|
208
211
|
* `lease_expires_at`, every 15 seconds, presenting the PeerAuthorization of each
|
|
209
212
|
* PeerConnection; the answer renews them. A participant whose lease runs out ends, and its
|
|
@@ -238,6 +241,7 @@
|
|
|
238
241
|
import * as zod from "zod";
|
|
239
242
|
import { IceCandidate } from "./iceCandidate.zod.js";
|
|
240
243
|
import { SignedMessage } from "./signedMessage.zod.js";
|
|
244
|
+
export const peerConnectionCandidatesMax = 64;
|
|
241
245
|
export const PeerConnection = zod
|
|
242
246
|
.strictObject({
|
|
243
247
|
id: zod
|
|
@@ -248,7 +252,11 @@ export const PeerConnection = zod
|
|
|
248
252
|
.describe("The session's SDP answer (RFC 8866); it holds ICE credentials, so never log it"),
|
|
249
253
|
candidates: zod
|
|
250
254
|
.array(IceCandidate)
|
|
251
|
-
.
|
|
255
|
+
.max(peerConnectionCandidatesMax)
|
|
256
|
+
.describe("The session's ICE candidates passed so far, at most 64, in the order the session sent\nthem. Later reads return the same ones first."),
|
|
257
|
+
candidates_complete: zod
|
|
258
|
+
.boolean()
|
|
259
|
+
.describe("The session reported that it has gathered all its candidates; no more follow"),
|
|
252
260
|
authorization: SignedMessage.describe("The signed `PeerAuthorization` of the PeerConnection, the same one the session holds"),
|
|
253
261
|
})
|
|
254
262
|
.describe("One PeerConnection of a participant, as the session answered it. Set the answer as the\nremote description, add the candidates, and verify the authorization before sending\napplication data; the SHA-256 of its `message` goes into `Hello.authorization_sha256`.");
|
|
@@ -201,9 +201,12 @@
|
|
|
201
201
|
* one second has passed, so that the offer carries them.
|
|
202
202
|
* 3. Join with `POST /api/v1/sessions/{sessionId}/participants`, sending the public key and the
|
|
203
203
|
* offer. The answer carries the participant's signed authorization, the keys the service
|
|
204
|
-
* signs with, and the first PeerConnection: the session's SDP answer,
|
|
205
|
-
* the signed PeerAuthorization. Pass candidates gathered later with
|
|
206
|
-
* `POST …/participants/{participantId}/peer-connections/{peerConnectionId}/candidates
|
|
204
|
+
* signs with, and the first PeerConnection: the session's SDP answer, the ICE candidates it
|
|
205
|
+
* has passed so far and the signed PeerAuthorization. Pass candidates gathered later with
|
|
206
|
+
* `POST …/participants/{participantId}/peer-connections/{peerConnectionId}/candidates`, and
|
|
207
|
+
* read the session's later ones with
|
|
208
|
+
* `GET …/participants/{participantId}/peer-connections/{peerConnectionId}` until
|
|
209
|
+
* `candidates_complete`.
|
|
207
210
|
* 4. Renew the participant with `POST …/participants/{participantId}:renew` well before
|
|
208
211
|
* `lease_expires_at`, every 15 seconds, presenting the PeerAuthorization of each
|
|
209
212
|
* PeerConnection; the answer renews them. A participant whose lease runs out ends, and its
|
|
@@ -201,9 +201,12 @@
|
|
|
201
201
|
* one second has passed, so that the offer carries them.
|
|
202
202
|
* 3. Join with `POST /api/v1/sessions/{sessionId}/participants`, sending the public key and the
|
|
203
203
|
* offer. The answer carries the participant's signed authorization, the keys the service
|
|
204
|
-
* signs with, and the first PeerConnection: the session's SDP answer,
|
|
205
|
-
* the signed PeerAuthorization. Pass candidates gathered later with
|
|
206
|
-
* `POST …/participants/{participantId}/peer-connections/{peerConnectionId}/candidates
|
|
204
|
+
* signs with, and the first PeerConnection: the session's SDP answer, the ICE candidates it
|
|
205
|
+
* has passed so far and the signed PeerAuthorization. Pass candidates gathered later with
|
|
206
|
+
* `POST …/participants/{participantId}/peer-connections/{peerConnectionId}/candidates`, and
|
|
207
|
+
* read the session's later ones with
|
|
208
|
+
* `GET …/participants/{participantId}/peer-connections/{peerConnectionId}` until
|
|
209
|
+
* `candidates_complete`.
|
|
207
210
|
* 4. Renew the participant with `POST …/participants/{participantId}:renew` well before
|
|
208
211
|
* `lease_expires_at`, every 15 seconds, presenting the PeerAuthorization of each
|
|
209
212
|
* PeerConnection; the answer renews them. A participant whose lease runs out ends, and its
|
|
@@ -201,9 +201,12 @@
|
|
|
201
201
|
* one second has passed, so that the offer carries them.
|
|
202
202
|
* 3. Join with `POST /api/v1/sessions/{sessionId}/participants`, sending the public key and the
|
|
203
203
|
* offer. The answer carries the participant's signed authorization, the keys the service
|
|
204
|
-
* signs with, and the first PeerConnection: the session's SDP answer,
|
|
205
|
-
* the signed PeerAuthorization. Pass candidates gathered later with
|
|
206
|
-
* `POST …/participants/{participantId}/peer-connections/{peerConnectionId}/candidates
|
|
204
|
+
* signs with, and the first PeerConnection: the session's SDP answer, the ICE candidates it
|
|
205
|
+
* has passed so far and the signed PeerAuthorization. Pass candidates gathered later with
|
|
206
|
+
* `POST …/participants/{participantId}/peer-connections/{peerConnectionId}/candidates`, and
|
|
207
|
+
* read the session's later ones with
|
|
208
|
+
* `GET …/participants/{participantId}/peer-connections/{peerConnectionId}` until
|
|
209
|
+
* `candidates_complete`.
|
|
207
210
|
* 4. Renew the participant with `POST …/participants/{participantId}:renew` well before
|
|
208
211
|
* `lease_expires_at`, every 15 seconds, presenting the PeerAuthorization of each
|
|
209
212
|
* PeerConnection; the answer renews them. A participant whose lease runs out ends, and its
|
|
@@ -201,9 +201,12 @@
|
|
|
201
201
|
* one second has passed, so that the offer carries them.
|
|
202
202
|
* 3. Join with `POST /api/v1/sessions/{sessionId}/participants`, sending the public key and the
|
|
203
203
|
* offer. The answer carries the participant's signed authorization, the keys the service
|
|
204
|
-
* signs with, and the first PeerConnection: the session's SDP answer,
|
|
205
|
-
* the signed PeerAuthorization. Pass candidates gathered later with
|
|
206
|
-
* `POST …/participants/{participantId}/peer-connections/{peerConnectionId}/candidates
|
|
204
|
+
* signs with, and the first PeerConnection: the session's SDP answer, the ICE candidates it
|
|
205
|
+
* has passed so far and the signed PeerAuthorization. Pass candidates gathered later with
|
|
206
|
+
* `POST …/participants/{participantId}/peer-connections/{peerConnectionId}/candidates`, and
|
|
207
|
+
* read the session's later ones with
|
|
208
|
+
* `GET …/participants/{participantId}/peer-connections/{peerConnectionId}` until
|
|
209
|
+
* `candidates_complete`.
|
|
207
210
|
* 4. Renew the participant with `POST …/participants/{participantId}:renew` well before
|
|
208
211
|
* `lease_expires_at`, every 15 seconds, presenting the PeerAuthorization of each
|
|
209
212
|
* PeerConnection; the answer renews them. A participant whose lease runs out ends, and its
|
|
@@ -201,9 +201,12 @@
|
|
|
201
201
|
* one second has passed, so that the offer carries them.
|
|
202
202
|
* 3. Join with `POST /api/v1/sessions/{sessionId}/participants`, sending the public key and the
|
|
203
203
|
* offer. The answer carries the participant's signed authorization, the keys the service
|
|
204
|
-
* signs with, and the first PeerConnection: the session's SDP answer,
|
|
205
|
-
* the signed PeerAuthorization. Pass candidates gathered later with
|
|
206
|
-
* `POST …/participants/{participantId}/peer-connections/{peerConnectionId}/candidates
|
|
204
|
+
* signs with, and the first PeerConnection: the session's SDP answer, the ICE candidates it
|
|
205
|
+
* has passed so far and the signed PeerAuthorization. Pass candidates gathered later with
|
|
206
|
+
* `POST …/participants/{participantId}/peer-connections/{peerConnectionId}/candidates`, and
|
|
207
|
+
* read the session's later ones with
|
|
208
|
+
* `GET …/participants/{participantId}/peer-connections/{peerConnectionId}` until
|
|
209
|
+
* `candidates_complete`.
|
|
207
210
|
* 4. Renew the participant with `POST …/participants/{participantId}:renew` well before
|
|
208
211
|
* `lease_expires_at`, every 15 seconds, presenting the PeerAuthorization of each
|
|
209
212
|
* PeerConnection; the answer renews them. A participant whose lease runs out ends, and its
|
|
@@ -201,9 +201,12 @@
|
|
|
201
201
|
* one second has passed, so that the offer carries them.
|
|
202
202
|
* 3. Join with `POST /api/v1/sessions/{sessionId}/participants`, sending the public key and the
|
|
203
203
|
* offer. The answer carries the participant's signed authorization, the keys the service
|
|
204
|
-
* signs with, and the first PeerConnection: the session's SDP answer,
|
|
205
|
-
* the signed PeerAuthorization. Pass candidates gathered later with
|
|
206
|
-
* `POST …/participants/{participantId}/peer-connections/{peerConnectionId}/candidates
|
|
204
|
+
* signs with, and the first PeerConnection: the session's SDP answer, the ICE candidates it
|
|
205
|
+
* has passed so far and the signed PeerAuthorization. Pass candidates gathered later with
|
|
206
|
+
* `POST …/participants/{participantId}/peer-connections/{peerConnectionId}/candidates`, and
|
|
207
|
+
* read the session's later ones with
|
|
208
|
+
* `GET …/participants/{participantId}/peer-connections/{peerConnectionId}` until
|
|
209
|
+
* `candidates_complete`.
|
|
207
210
|
* 4. Renew the participant with `POST …/participants/{participantId}:renew` well before
|
|
208
211
|
* `lease_expires_at`, every 15 seconds, presenting the PeerAuthorization of each
|
|
209
212
|
* PeerConnection; the answer renews them. A participant whose lease runs out ends, and its
|
|
@@ -201,9 +201,12 @@
|
|
|
201
201
|
* one second has passed, so that the offer carries them.
|
|
202
202
|
* 3. Join with `POST /api/v1/sessions/{sessionId}/participants`, sending the public key and the
|
|
203
203
|
* offer. The answer carries the participant's signed authorization, the keys the service
|
|
204
|
-
* signs with, and the first PeerConnection: the session's SDP answer,
|
|
205
|
-
* the signed PeerAuthorization. Pass candidates gathered later with
|
|
206
|
-
* `POST …/participants/{participantId}/peer-connections/{peerConnectionId}/candidates
|
|
204
|
+
* signs with, and the first PeerConnection: the session's SDP answer, the ICE candidates it
|
|
205
|
+
* has passed so far and the signed PeerAuthorization. Pass candidates gathered later with
|
|
206
|
+
* `POST …/participants/{participantId}/peer-connections/{peerConnectionId}/candidates`, and
|
|
207
|
+
* read the session's later ones with
|
|
208
|
+
* `GET …/participants/{participantId}/peer-connections/{peerConnectionId}` until
|
|
209
|
+
* `candidates_complete`.
|
|
207
210
|
* 4. Renew the participant with `POST …/participants/{participantId}:renew` well before
|
|
208
211
|
* `lease_expires_at`, every 15 seconds, presenting the PeerAuthorization of each
|
|
209
212
|
* PeerConnection; the answer renews them. A participant whose lease runs out ends, and its
|
|
@@ -201,9 +201,12 @@
|
|
|
201
201
|
* one second has passed, so that the offer carries them.
|
|
202
202
|
* 3. Join with `POST /api/v1/sessions/{sessionId}/participants`, sending the public key and the
|
|
203
203
|
* offer. The answer carries the participant's signed authorization, the keys the service
|
|
204
|
-
* signs with, and the first PeerConnection: the session's SDP answer,
|
|
205
|
-
* the signed PeerAuthorization. Pass candidates gathered later with
|
|
206
|
-
* `POST …/participants/{participantId}/peer-connections/{peerConnectionId}/candidates
|
|
204
|
+
* signs with, and the first PeerConnection: the session's SDP answer, the ICE candidates it
|
|
205
|
+
* has passed so far and the signed PeerAuthorization. Pass candidates gathered later with
|
|
206
|
+
* `POST …/participants/{participantId}/peer-connections/{peerConnectionId}/candidates`, and
|
|
207
|
+
* read the session's later ones with
|
|
208
|
+
* `GET …/participants/{participantId}/peer-connections/{peerConnectionId}` until
|
|
209
|
+
* `candidates_complete`.
|
|
207
210
|
* 4. Renew the participant with `POST …/participants/{participantId}:renew` well before
|
|
208
211
|
* `lease_expires_at`, every 15 seconds, presenting the PeerAuthorization of each
|
|
209
212
|
* PeerConnection; the answer renews them. A participant whose lease runs out ends, and its
|