mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-10-23 06:24:44 -04:00
rtmp-services: Fix formatting and indentation of services schema
Also define editorconfig for rtmp-services to match existing structure.
This commit is contained in:
1 parent
070c2ec616
commit
1af982fcfa
2 files changed
+6
-2
No files matched your search
@@ -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",
|
||||
|
||||
Reference in new issue
Block a user