# place.stream.live.subscribeSegments

> Published by [did:web:longos.iameli.link](https://lexicon.garden/identity/did:web:longos.iameli.link)

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:web:longos.iameli.link/place.stream.live.subscribeSegments)
- [Documentation](https://lexicon.garden/lexicon/did:web:longos.iameli.link/place.stream.live.subscribeSegments/docs)
- [Examples](https://lexicon.garden/lexicon/did:web:longos.iameli.link/place.stream.live.subscribeSegments/examples)

## Definitions

### `place.stream.live.subscribeSegments`

**Type**: `subscription`

Subscribe to a stream's new segments as they come in!

```json
{
  "type": "subscription",
  "message": {
    "schema": {
      "refs": [
        "#segment"
      ],
      "type": "union"
    }
  },
  "parameters": {
    "type": "params",
    "required": [
      "streamer"
    ],
    "properties": {
      "streamer": {
        "type": "string",
        "description": "The DID of the streamer to subscribe to"
      }
    }
  },
  "description": "Subscribe to a stream's new segments as they come in!"
}
```

### `place.stream.live.subscribeSegments#segment`

**Type**: `bytes`

MP4 file of a user's signed livestream segment

```json
{
  "type": "bytes",
  "description": "MP4 file of a user's signed livestream segment"
}
```

## Raw Schema

```json
{
  "id": "place.stream.live.subscribeSegments",
  "defs": {
    "main": {
      "type": "subscription",
      "message": {
        "schema": {
          "refs": [
            "#segment"
          ],
          "type": "union"
        }
      },
      "parameters": {
        "type": "params",
        "required": [
          "streamer"
        ],
        "properties": {
          "streamer": {
            "type": "string",
            "description": "The DID of the streamer to subscribe to"
          }
        }
      },
      "description": "Subscribe to a stream's new segments as they come in!"
    },
    "segment": {
      "type": "bytes",
      "description": "MP4 file of a user's signed livestream segment"
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
