diff options
author | Chocobozzz <me@florianbigard.com> | 2022-03-04 13:40:02 +0100 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2022-03-09 09:23:10 +0100 |
commit | f443a74649174b2f9347c158e30f8ac7aa3e958a (patch) | |
tree | e423bc4e2307477bda4341037b7fa04ad10adae6 /support/doc | |
parent | 01dd04cd5ab7b55d2a9af7d0ebf405bee9579b09 (diff) | |
download | PeerTube-f443a74649174b2f9347c158e30f8ac7aa3e958a.tar.gz PeerTube-f443a74649174b2f9347c158e30f8ac7aa3e958a.tar.zst PeerTube-f443a74649174b2f9347c158e30f8ac7aa3e958a.zip |
Add latency setting support
Diffstat (limited to 'support/doc')
-rw-r--r-- | support/doc/api/openapi.yaml | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/support/doc/api/openapi.yaml b/support/doc/api/openapi.yaml index 70f2d97f5..5ce1f228a 100644 --- a/support/doc/api/openapi.yaml +++ b/support/doc/api/openapi.yaml | |||
@@ -2295,6 +2295,9 @@ paths: | |||
2295 | permanentLive: | 2295 | permanentLive: |
2296 | description: User can stream multiple times in a permanent live | 2296 | description: User can stream multiple times in a permanent live |
2297 | type: boolean | 2297 | type: boolean |
2298 | latencyMode: | ||
2299 | description: User can select live latency mode if enabled by the instance | ||
2300 | $ref: '#/components/schemas/LiveVideoLatencyMode' | ||
2298 | thumbnailfile: | 2301 | thumbnailfile: |
2299 | description: Live video/replay thumbnail file | 2302 | description: Live video/replay thumbnail file |
2300 | type: string | 2303 | type: string |
@@ -5291,6 +5294,14 @@ components: | |||
5291 | description: 'Admin flags for the user (None = `0`, Bypass video blocklist = `1`)' | 5294 | description: 'Admin flags for the user (None = `0`, Bypass video blocklist = `1`)' |
5292 | example: 1 | 5295 | example: 1 |
5293 | 5296 | ||
5297 | LiveVideoLatencyMode: | ||
5298 | type: integer | ||
5299 | enum: | ||
5300 | - 1 | ||
5301 | - 2 | ||
5302 | - 3 | ||
5303 | description: 'The live latency mode (Default = `1`, HIght latency = `2`, Small Latency = `3`)' | ||
5304 | |||
5294 | VideoStateConstant: | 5305 | VideoStateConstant: |
5295 | properties: | 5306 | properties: |
5296 | id: | 5307 | id: |
@@ -7482,6 +7493,9 @@ components: | |||
7482 | permanentLive: | 7493 | permanentLive: |
7483 | description: User can stream multiple times in a permanent live | 7494 | description: User can stream multiple times in a permanent live |
7484 | type: boolean | 7495 | type: boolean |
7496 | latencyMode: | ||
7497 | description: User can select live latency mode if enabled by the instance | ||
7498 | $ref: '#/components/schemas/LiveVideoLatencyMode' | ||
7485 | 7499 | ||
7486 | LiveVideoResponse: | 7500 | LiveVideoResponse: |
7487 | properties: | 7501 | properties: |
@@ -7497,8 +7511,9 @@ components: | |||
7497 | permanentLive: | 7511 | permanentLive: |
7498 | description: User can stream multiple times in a permanent live | 7512 | description: User can stream multiple times in a permanent live |
7499 | type: boolean | 7513 | type: boolean |
7500 | 7514 | latencyMode: | |
7501 | 7515 | description: User can select live latency mode if enabled by the instance | |
7516 | $ref: '#/components/schemas/LiveVideoLatencyMode' | ||
7502 | 7517 | ||
7503 | callbacks: | 7518 | callbacks: |
7504 | searchIndex: | 7519 | searchIndex: |