Procházet zdrojové kódy

rtmp-services: Fix formatting and indentation of services schema

Also define editorconfig for rtmp-services to match existing structure.
Matt Gajownik před 2 roky
rodič
revize
1af982fcfa

+ 4 - 0
.editorconfig

@@ -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

+ 2 - 2
plugins/rtmp-services/data/schema/service-schema-v4.json

@@ -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",