完善接口

This commit is contained in:
xiongziliang 2020-04-23 23:57:42 +08:00
parent 787af5109e
commit a9fcd9dbc1
1 changed files with 1 additions and 0 deletions

View File

@ -384,6 +384,7 @@ void installWebApi() {
Value obj; Value obj;
auto codec_type = track->getTrackType(); auto codec_type = track->getTrackType();
obj["codec_id"] = track->getCodecId(); obj["codec_id"] = track->getCodecId();
obj["codec_id_name"] = track->getCodecName();
obj["ready"] = track->ready(); obj["ready"] = track->ready();
obj["codec_type"] = codec_type; obj["codec_type"] = codec_type;
switch(codec_type){ switch(codec_type){