socialweb.computer

Request and provide VMs on an atproto compute market.

lexicons and xrpc

lexicon

com.publicdomainrelay.temp.ingress.webRTC

record key any

A requester's WebRTC ingress descriptor (listen) or one session of it (offer from the requester, answer from a bidder), named in the ingress[] of the market calls. A listen record names the requester's ingress; offer and answer records carry the SDP for one peer and reference the listen record.

record

fieldtypedescription
kind *string
knownValues ["webrtc"]
mode *string
knownValues ["listen","offer","answer"]
id *string
The requester's ingress id: lowercase hex of the first 16 bytes of sha256("socialweb.computer/ingress/" + the requester repo DID), 32 characters.
peerstring did
The other party: the target bidder of an offer, the requester of an answer.
sessionstring
A per-offer nonce; an answer applies only to the offer with the same id and session.
descriptorcom.atproto.repo.strongRef
The listen record this offer or answer belongs to.
sdpstring
stunUrlsarray of string
The ICE servers (STUN URLs) this side gathers with.
createdAt *string datetime

used in

identity: signatures, key claims, associations, sign-in, protocol: the atproto protocol of socialweb-computer, lexicons-market: one row per lexicon, market: the RFP flow

raw schema: lexicons/com/publicdomainrelay/temp/ingress/webRTC.json
{
  "lexicon": 1,
  "id": "com.publicdomainrelay.temp.ingress.webRTC",
  "description": "A requester's WebRTC ingress descriptor (listen) or one session of it (offer from the requester, answer from a bidder), named in the ingress[] of the market calls. A listen record names the requester's ingress; offer and answer records carry the SDP for one peer and reference the listen record.",
  "defs": {
    "main": {
      "type": "record",
      "key": "any",
      "record": {
        "type": "object",
        "required": [
          "kind",
          "mode",
          "id",
          "createdAt"
        ],
        "properties": {
          "kind": {
            "type": "string",
            "knownValues": [
              "webrtc"
            ]
          },
          "mode": {
            "type": "string",
            "knownValues": [
              "listen",
              "offer",
              "answer"
            ]
          },
          "id": {
            "type": "string",
            "description": "The requester's ingress id: lowercase hex of the first 16 bytes of sha256(\"socialweb.computer/ingress/\" + the requester repo DID), 32 characters."
          },
          "peer": {
            "type": "string",
            "format": "did",
            "description": "The other party: the target bidder of an offer, the requester of an answer."
          },
          "session": {
            "type": "string",
            "description": "A per-offer nonce; an answer applies only to the offer with the same id and session."
          },
          "descriptor": {
            "type": "ref",
            "ref": "com.atproto.repo.strongRef",
            "description": "The listen record this offer or answer belongs to."
          },
          "sdp": {
            "type": "string"
          },
          "stunUrls": {
            "type": "array",
            "items": {
              "type": "string"
            },
            "description": "The ICE servers (STUN URLs) this side gathers with."
          },
          "createdAt": {
            "type": "string",
            "format": "datetime"
          }
        }
      }
    }
  }
}