mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2026-06-27 21:02:23 +08:00
优化rtp排序抖动缓存算法,提高webrtc/rtsp抗丢包性能
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
namespace mediakit {
|
||||
|
||||
RtpTrack::RtpTrack() {
|
||||
setOnSort([this](uint16_t seq, RtpPacket::Ptr &packet) {
|
||||
setOnSort([this](uint16_t seq, RtpPacket::Ptr packet) {
|
||||
onRtpSorted(std::move(packet));
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user