Add 'params' field to MediaSource tuple information

This commit is contained in:
xia-chu 2024-03-30 14:46:39 +08:00
parent 390c374086
commit 0602cc0c0b

View File

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