From a9fcd9dbc196b844f5bdcb2590fb89157a59a31b Mon Sep 17 00:00:00 2001 From: xiongziliang <771730766@qq.com> Date: Thu, 23 Apr 2020 23:57:42 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/WebApi.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/server/WebApi.cpp b/server/WebApi.cpp index 3200ca93..c2d9a03d 100644 --- a/server/WebApi.cpp +++ b/server/WebApi.cpp @@ -384,6 +384,7 @@ void installWebApi() { Value obj; auto codec_type = track->getTrackType(); obj["codec_id"] = track->getCodecId(); + obj["codec_id_name"] = track->getCodecName(); obj["ready"] = track->ready(); obj["codec_type"] = codec_type; switch(codec_type){