# place.stream.broadcast.origin

> Published by [did:web:stream.place](https://lexicon.garden/identity/did:web:stream.place)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:web:stream.place/place.stream.broadcast.origin)
- [Documentation](https://lexicon.garden/lexicon/did:web:stream.place/place.stream.broadcast.origin/docs)
- [Examples](https://lexicon.garden/lexicon/did:web:stream.place/place.stream.broadcast.origin/examples)

## Definitions

### `place.stream.broadcast.origin`

**Type**: `record`

Record indicating a livestream is published and available for replication at a given address. By convention, the record key is streamer::server

**Key**: `any`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `server` | `string` (did) | Yes | did of the server that's currently rebroadcasting the livestream |
| `streamer` | `string` (did) | Yes | DID of the streamer whose livestream is being published |
| `updatedAt` | `string` (datetime) | Yes | Periodically updated timestamp when this origin last saw a livestream |
| `irohTicket` | `string` | No | Iroh ticket that can be used to access the livestream from the server |
| `broadcaster` | `string` (did) | No | did of the broadcaster that operates the server syndicating the livestream |
| `websocketURL` | `string` (uri) | No | URL of the websocket endpoint for the livestream |

## Raw Schema

```json
{
  "id": "place.stream.broadcast.origin",
  "defs": {
    "main": {
      "key": "any",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "streamer",
          "server",
          "updatedAt"
        ],
        "properties": {
          "server": {
            "type": "string",
            "format": "did",
            "description": "did of the server that's currently rebroadcasting the livestream"
          },
          "streamer": {
            "type": "string",
            "format": "did",
            "description": "DID of the streamer whose livestream is being published"
          },
          "updatedAt": {
            "type": "string",
            "format": "datetime",
            "description": "Periodically updated timestamp when this origin last saw a livestream"
          },
          "irohTicket": {
            "type": "string",
            "maxLength": 2048,
            "description": "Iroh ticket that can be used to access the livestream from the server"
          },
          "broadcaster": {
            "type": "string",
            "format": "did",
            "description": "did of the broadcaster that operates the server syndicating the livestream"
          },
          "websocketURL": {
            "type": "string",
            "format": "uri",
            "description": "URL of the websocket endpoint for the livestream"
          }
        }
      },
      "description": "Record indicating a livestream is published and available for replication at a given address. By convention, the record key is streamer::server"
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
