From 88ac8098a18514bec5f5e365ea038c8fcdac3ece Mon Sep 17 00:00:00 2001 From: pkv Date: Sun, 11 Sep 2022 10:24:10 +0200 Subject: [PATCH] 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 --- .../{service-schema-v3.json => service-schema-v4.json} | 5 +++-- plugins/rtmp-services/data/services.json | 4 ++-- plugins/rtmp-services/rtmp-format-ver.h | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) rename plugins/rtmp-services/data/schema/{service-schema-v3.json => service-schema-v4.json} (97%) diff --git a/plugins/rtmp-services/data/schema/service-schema-v3.json b/plugins/rtmp-services/data/schema/service-schema-v4.json similarity index 97% rename from plugins/rtmp-services/data/schema/service-schema-v3.json rename to plugins/rtmp-services/data/schema/service-schema-v4.json index cdedf1c68..61f3c0cf2 100644 --- a/plugins/rtmp-services/data/schema/service-schema-v3.json +++ b/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": { diff --git a/plugins/rtmp-services/data/services.json b/plugins/rtmp-services/data/services.json index 6349e7c12..cee22a4e5 100644 --- a/plugins/rtmp-services/data/services.json +++ b/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", diff --git a/plugins/rtmp-services/rtmp-format-ver.h b/plugins/rtmp-services/rtmp-format-ver.h index 8909b9a65..8fc4eca4b 100644 --- a/plugins/rtmp-services/rtmp-format-ver.h +++ b/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