# place.stream.live.startLivestream

> 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.startLivestream)
- [Documentation](https://lexicon.garden/lexicon/did:web:longos.iameli.link/place.stream.live.startLivestream/docs)
- [Examples](https://lexicon.garden/lexicon/did:web:longos.iameli.link/place.stream.live.startLivestream/examples)

## Definitions

### `place.stream.live.startLivestream`

**Type**: `procedure`

Create a new place.stream.livestream record, automatically populating a thumbnail and creating a Bluesky post and whatnot. You can do this manually by creating a record but this method can work better for mobile livestreaming and such.

#### Input

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `streamer` | `string` (did) | Yes | The DID of the streamer. |
| `livestream` | `ref` → `place.stream.livestream` | Yes |  |
| `createBlueskyPost` | `boolean` | No | Whether to create a Bluesky post announcing the livestream. |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `cid` | `string` (cid) | Yes | The CID of the livestream record. |
| `uri` | `string` (uri) | Yes | The URI of the livestream record. |

## Raw Schema

```json
{
  "id": "place.stream.live.startLivestream",
  "defs": {
    "main": {
      "type": "procedure",
      "input": {
        "schema": {
          "type": "object",
          "required": [
            "streamer",
            "livestream"
          ],
          "properties": {
            "streamer": {
              "type": "string",
              "format": "did",
              "description": "The DID of the streamer."
            },
            "livestream": {
              "ref": "place.stream.livestream",
              "type": "ref"
            },
            "createBlueskyPost": {
              "type": "boolean",
              "description": "Whether to create a Bluesky post announcing the livestream."
            }
          }
        },
        "encoding": "application/json"
      },
      "output": {
        "schema": {
          "type": "object",
          "required": [
            "uri",
            "cid"
          ],
          "properties": {
            "cid": {
              "type": "string",
              "format": "cid",
              "description": "The CID of the livestream record."
            },
            "uri": {
              "type": "string",
              "format": "uri",
              "description": "The URI of the livestream record."
            }
          }
        },
        "encoding": "application/json"
      },
      "parameters": null,
      "description": "Create a new place.stream.livestream record, automatically populating a thumbnail and creating a Bluesky post and whatnot. You can do this manually by creating a record but this method can work better for mobile livestreaming and such."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
