mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-03-28 00:40:54 +08:00
优化rtp排序抖动缓存算法,提高webrtc/rtsp抗丢包性能
This commit is contained in:
@@ -102,7 +102,7 @@ void test_real() {
|
||||
|
||||
PacketSortor<uint16_t, uint16_t> sortor;
|
||||
list<uint16_t> sorted_list;
|
||||
sortor.setOnSort([&](uint16_t seq, const uint16_t &packet) {
|
||||
sortor.setOnSort([&](uint16_t seq, uint16_t packet) {
|
||||
sorted_list.push_back(seq);
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user