Merge branch 'master' of https://github.com/xia-chu/ZLMediaKit into dev

This commit is contained in:
xiongziliang
2021-04-11 11:41:27 +08:00
2 changed files with 3 additions and 2 deletions

View File

@@ -303,7 +303,7 @@ Value makeMediaSourceJson(MediaSource &media){
item["originSock"] = Json::nullValue;
}
for(auto &track : media.getTracks()){
for(auto &track : media.getTracks(false)){
Value obj;
auto codec_type = track->getTrackType();
obj["codec_id"] = track->getCodecId();