From 0602cc0c0b23e8ee816616633562dca9c5faa960 Mon Sep 17 00:00:00 2001 From: xia-chu <771730766@qq.com> Date: Sat, 30 Mar 2024 14:46:39 +0800 Subject: [PATCH] Add 'params' field to MediaSource tuple information --- server/WebApi.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/server/WebApi.cpp b/server/WebApi.cpp index 29fc773d..034db359 100755 --- a/server/WebApi.cpp +++ b/server/WebApi.cpp @@ -389,6 +389,7 @@ void dumpMediaTuple(const MediaTuple &tuple, Json::Value& item) { item[VHOST_KEY] = tuple.vhost; item["app"] = tuple.app; item["stream"] = tuple.stream; + item["params"] = tuple.params; } Value makeMediaSourceJson(MediaSource &media){