确保线程安全

This commit is contained in:
xia-chu 2023-11-07 23:33:09 +08:00
parent 014398a4f7
commit 40ed60fc5e
1 changed files with 0 additions and 1 deletions

View File

@ -353,7 +353,6 @@ Value makeMediaSourceJson(MediaSource &media){
try { current_thread = media.getOwnerPoller()->isCurrentThread();} catch (...) {}
float last_loss = -1;
for(auto &track : media.getTracks(false)){
track->update();
Value obj;
auto codec_type = track->getTrackType();
obj["codec_id"] = track->getCodecId();