mirror of
https://gitee.com/xia-chu/ZLMediaKit.git
synced 2026-05-17 23:37:49 +08:00
完善接口
This commit is contained in:
parent
787af5109e
commit
a9fcd9dbc1
@ -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){
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user