# place.stream.live.viewerCount

> Current viewer count for a livestream on a particular server. Record keys are streamer_did::server_did by convention.

- Kind: record
- Record key: any
- Authority: live.stream.place
- Lexicon: 1
- Published by [stream.place](https://lexicon.garden/identity/did:plc:rbvrr34edl5ddpuwcubjiost), not the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:rbvrr34edl5ddpuwcubjiost/place.stream.live.viewerCount)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:rbvrr34edl5ddpuwcubjiost/place.stream.live.viewerCount/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:rbvrr34edl5ddpuwcubjiost/place.stream.live.viewerCount/analytics)

## Record (`place.stream.live.viewerCount`)

Type: record · key any

### Properties

- `count` (integer, required): The current view count for the livestream.
- `server` (string · did, required): The DID of the server to get the view count for.
- `streamer` (string · did, required): The DID of the streamer to teleport to.
- `updatedAt` (string · datetime): The time the view count was last updated.

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Current viewer count for a livestream on a particular server. Record keys are streamer_did::server_did by convention.",
      "key": "any",
      "record": {
        "properties": {
          "count": {
            "description": "The current view count for the livestream.",
            "type": "integer"
          },
          "server": {
            "description": "The DID of the server to get the view count for.",
            "format": "did",
            "type": "string"
          },
          "streamer": {
            "description": "The DID of the streamer to teleport to.",
            "format": "did",
            "type": "string"
          },
          "updatedAt": {
            "description": "The time the view count was last updated.",
            "format": "datetime",
            "type": "string"
          }
        },
        "required": [
          "streamer",
          "server",
          "count"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "place.stream.live.viewerCount",
  "lexicon": 1
}
```
