# place.stream.playback.whep

> Play a stream over WebRTC using WHEP.

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

## Procedure (`place.stream.playback.whep`)

Type: procedure · POST

### Parameters (query string)

- `rendition` (string, required): The rendition of the stream to play.
- `streamer` (string, required): The DID of the streamer to play.

### Input (*/*)


### Output (*/*)


### Errors

- `Unauthorized`: This user may not play this stream.

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Play a stream over WebRTC using WHEP.",
      "errors": [
        {
          "description": "This user may not play this stream.",
          "name": "Unauthorized"
        }
      ],
      "input": {
        "encoding": "*/*"
      },
      "output": {
        "encoding": "*/*"
      },
      "parameters": {
        "properties": {
          "rendition": {
            "description": "The rendition of the stream to play.",
            "type": "string"
          },
          "streamer": {
            "description": "The DID of the streamer to play.",
            "type": "string"
          }
        },
        "required": [
          "streamer",
          "rendition"
        ],
        "type": "params"
      },
      "type": "procedure"
    }
  },
  "id": "place.stream.playback.whep",
  "lexicon": 1
}
```
