mirror of
https://github.com/datarhei/core.git
synced 2025-09-26 20:11:29 +08:00
Allow to configure SRT logging
This commit is contained in:
46
docs/docs.go
46
docs/docs.go
@@ -2675,6 +2675,20 @@ const docTemplate = `{
|
||||
"enable": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"log": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"enable": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"topics": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"passphrase": {
|
||||
"type": "string"
|
||||
},
|
||||
@@ -3504,7 +3518,7 @@ const docTemplate = `{
|
||||
"additionalProperties": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
"$ref": "#/definitions/api.SRTLog"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -3533,7 +3547,7 @@ const docTemplate = `{
|
||||
"additionalProperties": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
"$ref": "#/definitions/api.SRTLog"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -3542,6 +3556,20 @@ const docTemplate = `{
|
||||
}
|
||||
}
|
||||
},
|
||||
"api.SRTLog": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"msg": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"ts": {
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
},
|
||||
"api.SRTStatistics": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@@ -4241,6 +4269,20 @@ const docTemplate = `{
|
||||
"enable": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"log": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"enable": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"topics": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"passphrase": {
|
||||
"type": "string"
|
||||
},
|
||||
|
@@ -2667,6 +2667,20 @@
|
||||
"enable": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"log": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"enable": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"topics": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"passphrase": {
|
||||
"type": "string"
|
||||
},
|
||||
@@ -3496,7 +3510,7 @@
|
||||
"additionalProperties": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
"$ref": "#/definitions/api.SRTLog"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -3525,7 +3539,7 @@
|
||||
"additionalProperties": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
"$ref": "#/definitions/api.SRTLog"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -3534,6 +3548,20 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"api.SRTLog": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"msg": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"ts": {
|
||||
"type": "integer"
|
||||
}
|
||||
}
|
||||
},
|
||||
"api.SRTStatistics": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
@@ -4233,6 +4261,20 @@
|
||||
"enable": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"log": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"enable": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"topics": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"passphrase": {
|
||||
"type": "string"
|
||||
},
|
||||
|
@@ -307,6 +307,15 @@ definitions:
|
||||
type: string
|
||||
enable:
|
||||
type: boolean
|
||||
log:
|
||||
properties:
|
||||
enable:
|
||||
type: boolean
|
||||
topics:
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
type: object
|
||||
passphrase:
|
||||
type: string
|
||||
token:
|
||||
@@ -854,7 +863,7 @@ definitions:
|
||||
log:
|
||||
additionalProperties:
|
||||
items:
|
||||
type: string
|
||||
$ref: '#/definitions/api.SRTLog'
|
||||
type: array
|
||||
type: object
|
||||
publisher:
|
||||
@@ -873,12 +882,21 @@ definitions:
|
||||
log:
|
||||
additionalProperties:
|
||||
items:
|
||||
type: string
|
||||
$ref: '#/definitions/api.SRTLog'
|
||||
type: array
|
||||
type: object
|
||||
stats:
|
||||
$ref: '#/definitions/api.SRTStatistics'
|
||||
type: object
|
||||
api.SRTLog:
|
||||
properties:
|
||||
msg:
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
ts:
|
||||
type: integer
|
||||
type: object
|
||||
api.SRTStatistics:
|
||||
properties:
|
||||
avail_recv_buf_bytes:
|
||||
@@ -1392,6 +1410,15 @@ definitions:
|
||||
type: string
|
||||
enable:
|
||||
type: boolean
|
||||
log:
|
||||
properties:
|
||||
enable:
|
||||
type: boolean
|
||||
topics:
|
||||
items:
|
||||
type: string
|
||||
type: array
|
||||
type: object
|
||||
passphrase:
|
||||
type: string
|
||||
token:
|
||||
|
Reference in New Issue
Block a user