mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-26 12:37:09 +08:00
完善接口
This commit is contained in:
parent
787af5109e
commit
a9fcd9dbc1
@ -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){
|
||||
|
Loading…
Reference in New Issue
Block a user