socialweb.computer

Request and provide VMs on an atproto compute market.

lexicons and xrpc

lexicon

com.publicdomainrelay.temp.compute.events.guest.signalWebRTC

record key any

A sealed WebRTC session description for one tunnel; sent as the payload of a market.event. Non-trickle ICE: the requester offers once with all candidates, the guest answers once. Direction comes from the author: a requester-authored one is forwarded by the bidder to the guest's subscription; a bidder-authored one carries what the guest said. The bidder never opens the ciphertext.

record

fieldtypedescription
kind *string
The SDP type of the sealed session description.
knownValues ["offer","answer"] maxLength 16
tag *string
Names the webrtc tunnel of the contract (spec.tunnels).
maxLength 32
ciphertext *string
The session description, age armored ciphertext. The plaintext is the JSON object {"sdp": <session description>, "replyTo": <age recipient, offers only>}: an offer is sealed to the guest's latest compute.events.guest.publicKey for the tag and names in replyTo the age recipient the answer must be sealed to; an answer is sealed to that replyTo. No record names the key, so a reader opens every signal for the tag with its identity and keeps the ones that open.
maxLength 16384
createdAt *string datetime
signaturesnetwork.attested.signature#signatures

used in

guest-events: events under a receipt, lexicons-market: one row per lexicon

raw schema: lexicons/com/publicdomainrelay/temp/compute/events/guest/signalWebRTC.json
{
  "lexicon": 1,
  "id": "com.publicdomainrelay.temp.compute.events.guest.signalWebRTC",
  "description": "A sealed WebRTC session description for one tunnel; sent as the payload of a market.event. Non-trickle ICE: the requester offers once with all candidates, the guest answers once. Direction comes from the author: a requester-authored one is forwarded by the bidder to the guest's subscription; a bidder-authored one carries what the guest said. The bidder never opens the ciphertext.",
  "defs": {
    "main": {
      "type": "record",
      "key": "any",
      "record": {
        "type": "object",
        "required": [
          "kind",
          "tag",
          "ciphertext",
          "createdAt"
        ],
        "properties": {
          "kind": {
            "type": "string",
            "knownValues": [
              "offer",
              "answer"
            ],
            "maxLength": 16,
            "description": "The SDP type of the sealed session description."
          },
          "tag": {
            "type": "string",
            "maxLength": 32,
            "description": "Names the webrtc tunnel of the contract (spec.tunnels)."
          },
          "ciphertext": {
            "type": "string",
            "maxLength": 16384,
            "description": "The session description, age armored ciphertext. The plaintext is the JSON object {\"sdp\": <session description>, \"replyTo\": <age recipient, offers only>}: an offer is sealed to the guest's latest compute.events.guest.publicKey for the tag and names in replyTo the age recipient the answer must be sealed to; an answer is sealed to that replyTo. No record names the key, so a reader opens every signal for the tag with its identity and keeps the ones that open."
          },
          "createdAt": {
            "type": "string",
            "format": "datetime"
          },
          "signatures": {
            "type": "ref",
            "ref": "network.attested.signature#signatures"
          }
        }
      }
    }
  }
}