rtmp-services: Fix formatting and indentation of services schema
Also define editorconfig for rtmp-services to match existing structure.
This commit is contained in:
parent
070c2ec616
commit
1af982fcfa
2 changed files with 6 additions and 2 deletions
|
|
@ -29,3 +29,7 @@ indent_size = 2
|
|||
[cmake/**/*.cmake]
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
|
||||
[plugins/rtmp-services/data/**/*.json]
|
||||
indent_style = space
|
||||
indent_size = 4
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@
|
|||
"description": "Name of the streaming service. Will be displayed in the Service dropdown.",
|
||||
"minLength": 1
|
||||
},
|
||||
"protocol" : {
|
||||
"protocol": {
|
||||
"type": "string",
|
||||
"description": "Protocol used by the service. If missing the service is considered using RTMP or RTMPS.",
|
||||
"enum": [
|
||||
|
|
@ -212,7 +212,7 @@
|
|||
"required": [
|
||||
"name",
|
||||
"servers"
|
||||
],
|
||||
],
|
||||
"allOf": [
|
||||
{
|
||||
"$comment": "Require protocol field if not an RTMP(S) URL",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue