Skip to content

Commit

Permalink
add mjpeg back
Browse files Browse the repository at this point in the history
  • Loading branch information
migalenkom committed Jul 14, 2021
1 parent f506d35 commit b240b88
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions source/index.html.md
Original file line number Diff line number Diff line change
Expand Up @@ -535,6 +535,32 @@ curl "https://my.timeline.is/api/v3p/lpr_plates/:id" -H "Authorization: Bearer Y



# Live

## Get MJPEG live stream from a camera

This endpoint returns MJPEG live stream from a camera.

### HTTP Request
`GET https://my.timeline.is/live/:zone_id/stream?token=timeline_api_token`

**Parameters**

| Name | Located in | Description | Required | Type |
| ---- | ---------- | ----------- | -------- | ---- |
| token | query | Timeline API_token | No | String |


```shell
curl "https://my.timeline.is/live/:zone_id/stream?token=timeline_api_token"
```

```shell
curl "https://my.timeline.is/live/:zone_id/stream" -H "Authorization: Bearer YOUR_OAUTH_TOKEN"

```


# Perspectives

## Get all presets
Expand Down

0 comments on commit b240b88

Please sign in to comment.