# place.stream.live.startLivestream

> 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.

- Kind: procedure
- 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.startLivestream)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:rbvrr34edl5ddpuwcubjiost/place.stream.live.startLivestream/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:rbvrr34edl5ddpuwcubjiost/place.stream.live.startLivestream/analytics)

## Procedure (`place.stream.live.startLivestream`)

Type: procedure · POST

### Input (application/json)

- `createBlueskyPost` (boolean): Whether to create a Bluesky post announcing the livestream.
- `livestream` (ref, required)
  - Reference: `place.stream.livestream`
- `streamer` (string · did, required): The DID of the streamer.

### Output (application/json)

- `cid` (string · cid, required): The CID of the livestream record.
- `uri` (string · uri, required): The URI of the livestream record.

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "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.",
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "createBlueskyPost": {
              "description": "Whether to create a Bluesky post announcing the livestream.",
              "type": "boolean"
            },
            "livestream": {
              "ref": "place.stream.livestream",
              "type": "ref"
            },
            "streamer": {
              "description": "The DID of the streamer.",
              "format": "did",
              "type": "string"
            }
          },
          "required": [
            "streamer",
            "livestream"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "cid": {
              "description": "The CID of the livestream record.",
              "format": "cid",
              "type": "string"
            },
            "uri": {
              "description": "The URI of the livestream record.",
              "format": "uri",
              "type": "string"
            }
          },
          "required": [
            "uri",
            "cid"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "place.stream.live.startLivestream",
  "lexicon": 1
}
```
