完善接口

This commit is contained in:
xiongziliang 2020-04-23 23:57:42 +08:00
parent 787af5109e
commit a9fcd9dbc1

View File

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