Skip to content

Commit

Permalink
Fixed duplicated packet was sent when using mux
Browse files Browse the repository at this point in the history
  • Loading branch information
getroot committed Jul 5, 2024
1 parent db662d8 commit 5b116f5
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions src/projects/mediarouter/mediarouter_application.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -908,8 +908,10 @@ void MediaRouteApplication::InboundWorkerThread(uint32_t worker_id)
stream_tap->Push(item->packet);
}
}

stream_tap->Push(media_packet);
else
{
stream_tap->Push(media_packet);
}
}
}
}
Expand Down Expand Up @@ -986,8 +988,10 @@ void MediaRouteApplication::OutboundWorkerThread(uint32_t worker_id)
stream_tap->Push(item->packet);
}
}

stream_tap->Push(media_packet);
else
{
stream_tap->Push(media_packet);
}
}
}
}
Expand Down

0 comments on commit 5b116f5

Please sign in to comment.