Browse Source

rtmp-services: Add ffmpeg-mpegts-muxer in schema v4

This adds ffmpeg-mpegts-muxer to the enum of output modules in schema.
Updates schema to v4.

Signed-off-by: pkv <[email protected]>
pkv 3 years ago
parent
commit
88ac8098a1

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

@@ -4,7 +4,7 @@
     "properties": {
         "format_version": {
             "type": "integer",
-            "description": "Identifier for parsing this file.\n- v3 introduced 'ffmpeg_hls_muxer' to services/recommended/output\n - v2 introduced 'alt_names' to services"
+            "description": "Identifier for parsing this file.\n- v4 introduced 'ffmpeg_mpegts_muxer' to services/recommended/output\n - v3 introduced 'ffmpeg_hls_muxer' to services/recommended/output\n - v2 introduced 'alt_names' to services"
         },
         "services": {
             "type": "array",
@@ -110,7 +110,8 @@
                                 "enum": [
                                     "rtmp_output",
                                     "ffmpeg_hls_muxer",
-                                    "ftl_output"
+                                    "ftl_output",
+                                    "ffmpeg_mpegts_muxer"
                                 ]
                             },
                             "profile": {

+ 2 - 2
plugins/rtmp-services/data/services.json

@@ -1,6 +1,6 @@
 {
-    "$schema": "schema/service-schema-v3.json",
-    "format_version": 3,
+    "$schema": "schema/service-schema-v4.json",
+    "format_version": 4,
     "services": [
         {
             "name": "Twitch",

+ 1 - 1
plugins/rtmp-services/rtmp-format-ver.h

@@ -1,3 +1,3 @@
 #pragma once
 
-#define RTMP_SERVICES_FORMAT_VERSION 3
+#define RTMP_SERVICES_FORMAT_VERSION 4