mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-03-02 12:10:53 +08:00
Merge branch 'master' of https://gitee.com/xia-chu/ZLMediaKit into dev
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user