|
|
|
|
@ -186,6 +186,7 @@ components:
@@ -186,6 +186,7 @@ components:
|
|
|
|
|
- $ref: '#/components/schemas/PathSourceRTMPConn' |
|
|
|
|
- $ref: '#/components/schemas/PathSourceRTSPSource' |
|
|
|
|
- $ref: '#/components/schemas/PathSourceRTMPSource' |
|
|
|
|
- $ref: '#/components/schemas/PathSourceHLSSource' |
|
|
|
|
sourceReady: |
|
|
|
|
type: boolean |
|
|
|
|
readers: |
|
|
|
|
@ -238,6 +239,13 @@ components:
@@ -238,6 +239,13 @@ components:
|
|
|
|
|
type: string |
|
|
|
|
enum: [rtmpSource] |
|
|
|
|
|
|
|
|
|
PathSourceHLSSource: |
|
|
|
|
type: object |
|
|
|
|
properties: |
|
|
|
|
type: |
|
|
|
|
type: string |
|
|
|
|
enum: [hlsSource] |
|
|
|
|
|
|
|
|
|
PathReaderRTSPSession: |
|
|
|
|
type: object |
|
|
|
|
properties: |
|
|
|
|
@ -299,6 +307,12 @@ components:
@@ -299,6 +307,12 @@ components:
|
|
|
|
|
type: string |
|
|
|
|
enum: [idle, read, publish] |
|
|
|
|
|
|
|
|
|
HLSMuxer: |
|
|
|
|
type: object |
|
|
|
|
properties: |
|
|
|
|
lastRequest: |
|
|
|
|
type: string |
|
|
|
|
|
|
|
|
|
PathsList: |
|
|
|
|
type: object |
|
|
|
|
properties: |
|
|
|
|
@ -331,6 +345,14 @@ components:
@@ -331,6 +345,14 @@ components:
|
|
|
|
|
additionalProperties: |
|
|
|
|
$ref: '#/components/schemas/RTMPConn' |
|
|
|
|
|
|
|
|
|
HLSMuxersList: |
|
|
|
|
type: object |
|
|
|
|
properties: |
|
|
|
|
items: |
|
|
|
|
type: object |
|
|
|
|
additionalProperties: |
|
|
|
|
$ref: '#/components/schemas/HLSMuxer' |
|
|
|
|
|
|
|
|
|
paths: |
|
|
|
|
/v1/config/get: |
|
|
|
|
get: |
|
|
|
|
@ -449,7 +471,7 @@ paths:
@@ -449,7 +471,7 @@ paths:
|
|
|
|
|
content: |
|
|
|
|
application/json: |
|
|
|
|
schema: |
|
|
|
|
$ref: '#/components/schemas/PathsList' |
|
|
|
|
$ref: '#/components/schemas/PathsList' |
|
|
|
|
'400': |
|
|
|
|
description: invalid request. |
|
|
|
|
'500': |
|
|
|
|
@ -565,3 +587,20 @@ paths:
@@ -565,3 +587,20 @@ paths:
|
|
|
|
|
description: invalid request. |
|
|
|
|
'500': |
|
|
|
|
description: internal server error. |
|
|
|
|
|
|
|
|
|
/v1/hlsmuxers/list: |
|
|
|
|
get: |
|
|
|
|
operationId: hlsMuxersList |
|
|
|
|
summary: returns all active HLS muxers. |
|
|
|
|
description: '' |
|
|
|
|
responses: |
|
|
|
|
'200': |
|
|
|
|
description: the request was successful. |
|
|
|
|
content: |
|
|
|
|
application/json: |
|
|
|
|
schema: |
|
|
|
|
$ref: '#/components/schemas/HLSMuxersList' |
|
|
|
|
'400': |
|
|
|
|
description: invalid request. |
|
|
|
|
'500': |
|
|
|
|
description: internal server error. |
|
|
|
|
|